-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
31 lines (31 loc) · 1.06 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
{
"ts-node": {
// It is faster to skip typechecking.
// Remove if you want ts-node to do typechecking.
"experimentalSpecifierResolution": "node"
},
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"outDir": "dist",
"esModuleInterop": true,
"moduleResolution": "node",
"baseUrl": ".",
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"declaration": true,
"declarationDir": ".",
"paths": {
// this is the package name we use (in the interface imports, --package for generators)
"@mangata-finance/types/*": ["src/*"],
// here we replace the @polkadot/api augmentation with our own, generated from chain
"@polkadot/api/augment": ["src/interfaces/augment-api.ts"],
"@polkadot/types/lookup": ["src/interfaces/types-lookup.ts"],
// replace the augmented types with our own, as generated from definitions
"@polkadot/types/augment": ["src/interfaces/augment-types.ts"]
}
},
"exclude": ["node_modules", "dist"],
"include": ["src"]
}