Commit 8bbbf8c
committed
Fix exports in type definitions
Since the code uses "module.exports = ...", the TypeScript types should
use "export = ..." to match. This ensures it works when neither
esModuleInterop nor allowSyntheticDefaultImports are enabled.
For more context, see
https://github.com/DefinitelyTyped/DefinitelyTyped#a-package-uses-export--but-i-prefer-to-use-default-imports-can-i-change-export--to-export-default1 parent 6f3ae38 commit 8bbbf8c
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
0 commit comments