Skip to content

Commit 26e316b

Browse files
committed
docs: update usage section
1 parent 2d9277b commit 26e316b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Create oas.config.js or oas.json in the root directory of the project, and refer
2323
The search order for configuration files is `oas.config.cjs`, `oas.config.js`, `oas.json`.
2424

2525
```javascript
26-
const { defineConfig } = require('oas-gen-ts');
2726
// oas.config.cjs
27+
const { defineConfig } = require('oas-gen-ts');
2828
module.exports = defineConfig({
2929
axiosImport: `import { axios } from '@/util/axios';`,
3030
list: [

0 commit comments

Comments
 (0)