Skip to content

Commit 513a496

Browse files
committed
Updated README.md
1 parent 66062b0 commit 513a496

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ const str = param(obj);
4545
// => "key1[value1][]=10&key1[value1][]=20&key1[value1][]=30&key2=?a=b&c=d"
4646
```
4747

48-
*You will need to add `"esModuleInterop": true` to the `"compilerOptions"` directive in `tsconfig.json`.*
48+
*You will need to add `"esModuleInterop": true` to the `"compilerOptions"` field in `tsconfig.json`.*
4949

5050
ES Modules:
5151

5252
```html
5353
<script type="module">
54-
import { param } from './esm/jquery-param.es.js';
54+
import param from './esm/jquery-param.es.js';
5555
5656
const obj = { key1: { value1: [10, 20, 30] }, key2: '?a=b&c=d' };
5757
const str = param(obj);

0 commit comments

Comments
 (0)