forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
19 lines (19 loc) · 957 Bytes
/
tsconfig.json
File metadata and controls
19 lines (19 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"extends": "../../../common/build/build-common/tsconfig.node16.json",
"include": ["src/**/*"],
"exclude": ["src/test/**/*"],
"compilerOptions": {
"rootDir": "./src",
"outDir": "./lib",
"exactOptionalPropertyTypes": false,
"noUnusedLocals": false,
// ES2021 needed for FinalizationRegistry
"lib": ["ES2021", "DOM", "DOM.Iterable"],
// Suppress type errors in Quill's use of quill-delta.
// Without this, the quill code gives a lot of errors like:
// node_modules/.pnpm/quill@2.0.3/node_modules/quill/blots/block.d.ts:6:17 - error TS2709: Cannot use namespace 'Delta' as a type.
// These issues (and others, see imports of quill-delta) are likely related to quill-delta's export style not working well with node16 module resolution.
// Quill internally uses `"moduleResolution": "bundler"` which seems to work properly with quill-delta's exports, but would be inconsistent with the rest of this repo.
"skipLibCheck": true,
},
}