File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 22// Do not edit this file. It's replaced every time you launch a toolbox action.
33// If you need to add additional declarations, please do so in a new file.
44
5- declare module '*.json' {
6- const value : any ;
7- export default value ;
8- }
9-
105declare module '*.bmp' {
116 const src : string ;
127 export default src ;
Original file line number Diff line number Diff line change @@ -29,9 +29,10 @@ const compilerOptions = {
2929 allowSyntheticDefaultImports : { suggested : true } ,
3030 strict : { suggested : true } ,
3131
32- // This values are required and cannot be changed by the user
32+ // These values are required and cannot be changed by the user
3333 module : { value : 'esnext' , reason : 'for import() and import/export' } ,
3434 moduleResolution : { value : 'node' , reason : 'to match webpack resolution' } ,
35+ resolveJsonModule : { value : true , reason : 'to match webpack loader' } ,
3536 isolatedModules : { value : true , reason : 'implementation limitation' } ,
3637 noEmit : { value : true } ,
3738 jsx : { value : 'preserve' , reason : 'JSX is compiled by Babel' } ,
You can’t perform that action at this time.
0 commit comments