fix: add explicit module declaration to type definitions (#16219)

This commit is contained in:
Justin Starry
2021-03-30 20:16:31 +08:00
committed by GitHub
parent 54cb16d99b
commit c959c5daf7
12 changed files with 74 additions and 390 deletions

View File

@@ -4,8 +4,7 @@
"allowJs": true,
"skipLibCheck": true,
"declaration": true,
"declarationMap": true,
"declarationDir": "lib/types",
"declarationDir": "declarations",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
@@ -16,11 +15,7 @@
"isolatedModules": true,
"baseUrl": "src",
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"paths": {
// This is needed so that @solana/spl-token's @solana/web3.js doesn't conflict
"@solana/web3.js": ["."]
}
"noImplicitReturns": true
},
"include": ["src"]
}