Last active
May 2, 2019 12:59
-
-
Save JoshuaKGoldberg/bb6c2a6541a3738f44448765c63f6d78 to your computer and use it in GitHub Desktop.
Replacing an incorrect @types definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// webpack/assets/javascripts/esri.d.ts | |
// This file should be in that path 👆 but Gists don't allow subpaths... | |
declare module "esri" { | |
const wat: string; | |
export wat; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"allowJs": true, | |
"allowSyntheticDefaultImports": true, | |
"baseUrl": ".", | |
"esModuleInterop": true, | |
"experimentalDecorators": true, | |
"jsx": "react", | |
"lib": ["esnext", "dom", "dom.iterable"], | |
"module": "esnext", | |
"moduleResolution": "node", | |
"noEmit": true, | |
"paths": { | |
"*": [ | |
"webpack/assets/javascripts/*", | |
"node_modules/*" | |
] | |
}, | |
"pretty": true, | |
"sourceMap": true, | |
"strict": true, | |
"target": "esnext", | |
}, | |
"include": [ | |
"./webpack/**/*", | |
"./node_modules/*enzyme*/lib/index.d.ts" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment