mirror of
https://github.com/vale981/apollo-server
synced 2025-03-05 09:41:40 -05:00

`esModuleInterop` was enabled in
e4164c8892
to help with importing from packages that use default exports.
Those changes were reverted in
https://github.com/apollographql/apollo-server/pull/1210
to work around a few reported issues. Those issues are no longer
relevant, so this commit re-enables `esModuleInterop`, and
updates all default imports to use the more common (standard)
import syntax.
20 lines
501 B
JSON
20 lines
501 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2016",
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"esModuleInterop": true,
|
|
"sourceMap": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"removeComments": true,
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUnusedParameters": true,
|
|
"noUnusedLocals": true,
|
|
"lib": ["es2017", "esnext.asynciterable"],
|
|
"types": ["node", "jest"]
|
|
}
|
|
}
|