mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-17 21:21:37 -05:00
0e478dab86
ts-node by default does not respect the `files` setting in `tsconfig.json` and therefore does not respect the d.ts file under `types/`. This commit adds an explicit `typeRoots` option, as recommended by https://github.com/TypeStrong/ts-node#help-my-types-are-missing Fixes #989 Signed-off-by: Philip Molares <philip.molares@udo.edu>
19 lines
412 B
JSON
19 lines
412 B
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"declaration": true,
|
|
"removeComments": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"target": "es2017",
|
|
"sourceMap": true,
|
|
"outDir": "./dist",
|
|
"baseUrl": "./",
|
|
"incremental": true,
|
|
"typeRoots": [
|
|
"./types",
|
|
"./node_modules/@types"
|
|
]
|
|
}
|
|
}
|