Skip to content

Commit ce6ae41

Browse files
committed
revert tsconfig too
1 parent bf42d67 commit ce6ae41

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

tsconfig.json

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@
55
"compilerOptions": {
66
// https://www.typescriptlang.org/docs/handbook/compiler-options.html
77
/* 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'. */
1010
"lib": [
1111
"dom",
1212
"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. */
1414
// "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. */
1616
// "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. */
1818
// "outDir": "./", /* Redirect output structure to the directory. */
1919
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
2020
// "composite": true, /* Enable project compilation */
2121
// "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'. */
2323
// "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. */
2525
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
2626
// "strictNullChecks": true, /* Enable strict null checks. */
2727
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
@@ -30,25 +30,26 @@
3030
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
3131
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
3232
/* 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. */
3434
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
3535
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
3636
/* Module Resolution Options */
3737
"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+
]
4344
},
4445
// "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",
4748
"./node_modules/@types"
4849
],
4950
// "types": [], /* Type declaration files to be included in compilation. */
5051
// "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'. */
5253
"allowJs": true,
5354
"strict": false,
5455
"incremental": true,
@@ -57,7 +58,7 @@
5758
{
5859
"name": "next"
5960
}
60-
],
61+
]
6162
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
6263
/* Source Map Options */
6364
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
@@ -67,6 +68,7 @@
6768
/* Experimental Options */
6869
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
6970
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
71+
,
7072
"strictNullChecks": true
7173
},
7274
"exclude": [
@@ -79,5 +81,5 @@
7981
".next/types/**/*.ts",
8082
"**/*.ts",
8183
"**/*.tsx"
82-
, "scripts/generate-md-exports.mjs" ]
84+
]
8385
}

0 commit comments

Comments
 (0)