mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 10:40:36 +01:00
76181385d2
* refactor(misskey-js): enable exactOptionalPropertyTypes * refactor(misskey-js): fix error where is appeared by enabling
34 lines
655 B
JSON
34 lines
655 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "nodenext",
|
|
"moduleResolution": "nodenext",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": false,
|
|
"outDir": "./built/",
|
|
"removeComments": true,
|
|
"strict": true,
|
|
"strictFunctionTypes": true,
|
|
"strictNullChecks": true,
|
|
"experimentalDecorators": true,
|
|
"noImplicitReturns": true,
|
|
"esModuleInterop": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"typeRoots": [
|
|
"./node_modules/@types"
|
|
],
|
|
"lib": [
|
|
"esnext",
|
|
"dom"
|
|
]
|
|
},
|
|
"include": [
|
|
"src/**/*"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"test/**/*"
|
|
]
|
|
}
|