Skip to content

Commit

Permalink
Turn-on TS esModuleInterop
Browse files Browse the repository at this point in the history
- newish feature I didn't know about: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html
- also added `esnext.asnyciterable` to lib (may just add all of `esnext`)
  • Loading branch information
poltak committed Apr 10, 2018
1 parent af6a724 commit 4185616
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
"moduleResolution": "node",
"jsx": "react",
"noImplicitAny": false,
"esModuleInterop": true,
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"strictNullChecks": false,
"outDir": "tmp",
"lib": ["es2017", "dom"],
"lib": ["es2017", "dom", "esnext.asynciterable"],
"paths": {
"abstract-leveldown": ["node_modules/abstract-leveldown"]
}
Expand Down

0 comments on commit 4185616

Please sign in to comment.