forked from near/borsh-js
-
Notifications
You must be signed in to change notification settings - Fork 3
/
tsconfig.json
36 lines (36 loc) · 1.18 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"include": [
"src"
],
"exclude": [
"node_modules"
],
"compilerOptions": {
"lib": [
"ES2022",
"DOM",
"ES2022.Error",
], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
"rootDir": "src", /* Specify the root folder within your source files. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
/* Type Checking */
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied `any` type.. */
"skipLibCheck": true, /* Skip type checking all .d.ts files. */
"target": "ES2020",
"module": "ES2022",
"outDir": "lib/esm",
"declaration": true,
"sourceMap": true,
"noEmitOnError": true,
"stripInternal": true,
"moduleResolution": "Node16",
"jsx": "react",
"resolveJsonModule": true,
"isolatedModules": true,
"experimentalDecorators": true,
"typeRoots": [
"node_modules/@types"
]
}
}