5fafd1a75b
* New example with-typescript-graphql * Update newer graphql-let * Apply @lfades 's suggestions * Use "lib" for tools directory * Move config decorator to next.config.js * Apply stricter tsconfig * mod: hide the word "apollo" from users * mod: Use variable name `withApollo` * Use the later version of graphql-let * Only pages can be in pages * Life improvements * fix: .grpahql-let.yml point to the wrong document path * Use a wider glob for less pitfalls * Add a note about it in README.md Co-authored-by: Luis Alvarez D. <luis@zeit.co>
23 lines
580 B
JSON
23 lines
580 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"alwaysStrict": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"lib": ["dom", "es2017"],
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"noEmit": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"target": "esnext"
|
|
},
|
|
"exclude": ["node_modules"],
|
|
"include": ["**/*.ts", "**/*.tsx"]
|
|
}
|