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 2
2
// Do not edit this file. It's replaced every time you launch a toolbox action.
3
3
// If you need to add additional declarations, please do so in a new file.
4
4
5
- declare module '*.json' {
6
- const value : any ;
7
- export default value ;
8
- }
9
-
10
5
declare module '*.bmp' {
11
6
const src : string ;
12
7
export default src ;
Original file line number Diff line number Diff line change @@ -29,9 +29,10 @@ const compilerOptions = {
29
29
allowSyntheticDefaultImports : { suggested : true } ,
30
30
strict : { suggested : true } ,
31
31
32
- // This values are required and cannot be changed by the user
32
+ // These values are required and cannot be changed by the user
33
33
module : { value : 'esnext' , reason : 'for import() and import/export' } ,
34
34
moduleResolution : { value : 'node' , reason : 'to match webpack resolution' } ,
35
+ resolveJsonModule : { value : true , reason : 'to match webpack loader' } ,
35
36
isolatedModules : { value : true , reason : 'implementation limitation' } ,
36
37
noEmit : { value : true } ,
37
38
jsx : { value : 'preserve' , reason : 'JSX is compiled by Babel' } ,
You can’t perform that action at this time.
0 commit comments