|
5 | 5 | "compilerOptions": { |
6 | 6 | // https://www.typescriptlang.org/docs/handbook/compiler-options.html |
7 | 7 | /* Basic Options */ |
8 | | - "target": "ESNEXT" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */, |
9 | | - "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, |
| 8 | + "target": "ESNEXT", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ |
| 9 | + "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ |
10 | 10 | "lib": [ |
11 | 11 | "dom", |
12 | 12 | "esnext" |
13 | | - ] /* Specify library files to be included in the compilation. */, // "allowJs": true, /* Allow javascript files to be compiled. */ |
| 13 | + ], /* Specify library files to be included in the compilation. */ // "allowJs": true, /* Allow javascript files to be compiled. */ |
14 | 14 | // "checkJs": true, /* Report errors in .js files. */ |
15 | | - "jsx": "preserve" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */, // "declaration": true, /* Generates corresponding '.d.ts' file. */ |
| 15 | + "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ // "declaration": true, /* Generates corresponding '.d.ts' file. */ |
16 | 16 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ |
17 | | - "sourceMap": true /* Generates corresponding '.map' file. */, // "outFile": "./", /* Concatenate and emit output to single file. */ |
| 17 | + "sourceMap": true, /* Generates corresponding '.map' file. */ // "outFile": "./", /* Concatenate and emit output to single file. */ |
18 | 18 | // "outDir": "./", /* Redirect output structure to the directory. */ |
19 | 19 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ |
20 | 20 | // "composite": true, /* Enable project compilation */ |
21 | 21 | // "removeComments": true, /* Do not emit comments to output. */ |
22 | | - "noEmit": true /* Do not emit outputs. */, // "importHelpers": true, /* Import emit helpers from 'tslib'. */ |
| 22 | + "noEmit": true, /* Do not emit outputs. */ // "importHelpers": true, /* Import emit helpers from 'tslib'. */ |
23 | 23 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ |
24 | | - "isolatedModules": true /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ /* Strict Type-Checking Options */, // "strict": true /* Enable all strict type-checking options. */ |
| 24 | + "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ /* Strict Type-Checking Options */// "strict": true /* Enable all strict type-checking options. */ |
25 | 25 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ |
26 | 26 | // "strictNullChecks": true, /* Enable strict null checks. */ |
27 | 27 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */ |
|
30 | 30 | // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ |
31 | 31 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ |
32 | 32 | /* Additional Checks */ |
33 | | - "noUnusedLocals": true /* Report errors on unused locals. */, // "noUnusedParameters": true, /* Report errors on unused parameters. */ |
| 33 | + "noUnusedLocals": true, /* Report errors on unused locals. */ // "noUnusedParameters": true, /* Report errors on unused parameters. */ |
34 | 34 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ |
35 | 35 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ |
36 | 36 | /* Module Resolution Options */ |
37 | 37 | "resolveJsonModule": true, |
38 | | - "skipLibCheck": true /* Skip type checking of all declaration files (*.d.ts). */, // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ |
39 | | - "baseUrl": "./" /* Base directory to resolve non-absolute module names. */, |
40 | | - "paths": { |
41 | | - /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. Must match `alias` in `gatsby-node.js`. */ |
42 | | - "sentry-docs/*": ["src/*"] |
| 38 | + "skipLibCheck": true, /* Skip type checking of all declaration files (*.d.ts). */ // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ |
| 39 | + "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ |
| 40 | + "paths": { /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. Must match `alias` in `gatsby-node.js`. */ |
| 41 | + "sentry-docs/*": [ |
| 42 | + "src/*" |
| 43 | + ] |
43 | 44 | }, |
44 | 45 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ |
45 | | - "typeRoots": [ |
46 | | - /* List of folders to include type definitions from. */ "./src/@types", |
| 46 | + "typeRoots": [ /* List of folders to include type definitions from. */ |
| 47 | + "./src/@types", |
47 | 48 | "./node_modules/@types" |
48 | 49 | ], |
49 | 50 | // "types": [], /* Type declaration files to be included in compilation. */ |
50 | 51 | // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ |
51 | | - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, |
| 52 | + "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ |
52 | 53 | "allowJs": true, |
53 | 54 | "strict": false, |
54 | 55 | "incremental": true, |
|
57 | 58 | { |
58 | 59 | "name": "next" |
59 | 60 | } |
60 | | - ], |
| 61 | + ] |
61 | 62 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ |
62 | 63 | /* Source Map Options */ |
63 | 64 | // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ |
|
67 | 68 | /* Experimental Options */ |
68 | 69 | // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ |
69 | 70 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ |
| 71 | + , |
70 | 72 | "strictNullChecks": true |
71 | 73 | }, |
72 | 74 | "exclude": [ |
|
79 | 81 | ".next/types/**/*.ts", |
80 | 82 | "**/*.ts", |
81 | 83 | "**/*.tsx" |
82 | | -, "scripts/generate-md-exports.mjs" ] |
| 84 | + ] |
83 | 85 | } |
0 commit comments