Skip to content

Commit

Permalink
Merge pull request #248 from Yasiruofficial/main
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
philsturgeon authored Jul 28, 2023
2 parents 803ff45 + 609f41d commit 1d9776e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const SwaggerParser = require("@apidevtools/swagger-parser");
When using a transpiler such as [Babel](https://babeljs.io/) or [TypeScript](https://www.typescriptlang.org/), or a bundler such as [Webpack](https://webpack.js.org/) or [Rollup](https://rollupjs.org/), you can use **ECMAScript modules** syntax instead:

```javascript
import SwaggerParser from "@apidevtools/swagger-parser";
import * as SwaggerParser from '@apidevtools/swagger-parser';
```


Expand Down

0 comments on commit 1d9776e

Please sign in to comment.