Created
March 12, 2023 15:05
-
-
Save weilueluo/1a2707189cedbb8f335473ef43834a18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"compilerOptions": { | |
// type checking | |
"strict": true, | |
// modules | |
"module": "esnext", | |
"moduleResolution": "nodenext", | |
"paths": { | |
"@/*": ["./src/*"] | |
}, | |
"resolveJsonModule": true, | |
"esModuleInterop": true, | |
"isolatedModules": true, | |
// js support | |
"allowJs": false, | |
"plugins": [ | |
{ | |
"name": "next" | |
} | |
], | |
// interpo constraints | |
"forceConsistentCasingInFileNames": true, | |
// jsx | |
"jsx": "preserve", | |
// lib, default type definitions for js-builtin | |
"lib": ["dom", "dom.iterable", "esnext"], | |
// lang & env | |
"target": "es6", | |
// compile | |
"skipLibCheck": true, | |
"noEmit": true, | |
"removeComments": true, | |
"incremental": true, | |
"explainFiles": true, | |
"listEmittedFiles": true, | |
"listFiles": true | |
}, | |
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], | |
"exclude": ["node_modules"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment