mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
f12df395f8
PNPM uses symlinks by default for `node_modules` (see the [`node-linker`][1] options), which doesn't work with [TypeScript's `preserveSymlinks: true`][2] setting. This meant that the `d3-transition` types were not applying properly in our code. [1]: https://pnpm.io/npmrc#node-linker [2]: https://www.typescriptlang.org/tsconfig/#preserveSymlinks
12 lines
258 B
JSON
12 lines
258 B
JSON
{
|
|
"extends": "../../tsconfig.json",
|
|
"compilerOptions": {
|
|
"rootDir": ".",
|
|
"outDir": "./dist",
|
|
"allowJs": false,
|
|
"strictPropertyInitialization": false
|
|
},
|
|
"include": ["./src/**/*.ts", "./tests/**/*.ts"],
|
|
"typeRoots": ["./src/types"]
|
|
}
|