forked from instructure/canvas-lms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
18 lines (18 loc) · 1.22 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"compilerOptions": {
"allowJs": true, // allows importing of .js files from .ts files
"esModuleInterop": true, // more accurately transpiles to the ES6 module spec (maybe not needed w/ babel transpilation)
"isolatedModules": true, // required to adhere to babel's single-file transpilation process
"jsx": "react", // transpiles jsx to React.createElement calls (maybe not needed w/ babel transpilation)
"lib": ["dom", "es7"], // include types for DOM APIs and standard JS up to ES2016 / ES7
"module": "ES2020", // support the most modern ES6-style module syntax
"moduleResolution": "node", // required for non-commonjs imports
"noEmit": true, // don't generate transpiled JS files, source-maps, or .d.ts files for Canvas source code
"resolveJsonModule": true, // enables importing json files
"skipLibCheck": true, // don't do type-checking on dependencies' internal types for improved performance
"strict": true, // enables a bunch of strict mode family options. See https://www.typescriptlang.org/tsconfig#strict
"target": "ES2020", // support the most modern JS features (let babel handle transpilation)
"noImplicitAny": false // remove once fixed in pace plans
},
"include": ["ui/**/*"]
}