fix: add explicit module declaration to type definitions (#16219)
This commit is contained in:
@@ -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"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user