mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -05:00
0ac88439ea
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"
|
|
]
|
|
}
|
|
}
|