File tree Expand file tree Collapse file tree 6 files changed +3806
-3919
lines changed
1.8.2_babel-allowSyntheticDefaultImports Expand file tree Collapse file tree 6 files changed +3806
-3919
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ function setModuleMeta(
159
159
function getOptionsHash ( loaderOptions : LoaderOptions ) {
160
160
const hash = crypto . createHash ( 'sha256' ) ;
161
161
Object . keys ( loaderOptions ) . forEach ( key => {
162
- const value = loaderOptions [ key ] ;
162
+ const value = loaderOptions [ key as keyof LoaderOptions ] ;
163
163
if ( value !== undefined ) {
164
164
const valueString =
165
165
typeof value === 'function' ? value . toString ( ) : JSON . stringify ( value ) ;
Original file line number Diff line number Diff line change 5
5
"noImplicitReturns" : true ,
6
6
"noUnusedLocals" : true ,
7
7
"noUnusedParameters" : true ,
8
- "suppressImplicitAnyIndexErrors" : true ,
9
8
"strict" : true ,
10
9
"module" : " commonjs" ,
11
10
"moduleResolution" : " node" ,
Original file line number Diff line number Diff line change 7
7
"noImplicitAny" : true ,
8
8
"preserveConstEnums" : true ,
9
9
"removeComments" : false ,
10
- "suppressImplicitAnyIndexErrors" : true ,
11
10
"target" : " es2015"
12
11
}
13
12
}
Original file line number Diff line number Diff line change 9
9
"noImplicitAny" : true ,
10
10
"preserveConstEnums" : true ,
11
11
"removeComments" : false ,
12
- "suppressImplicitAnyIndexErrors" : true ,
13
12
"target" : " es2016"
14
13
}
15
14
}
Original file line number Diff line number Diff line change 4
4
"noImplicitAny" : true ,
5
5
"preserveConstEnums" : true ,
6
6
"removeComments" : false ,
7
- "suppressImplicitAnyIndexErrors" : true ,
8
7
"target" : " es6"
9
8
}
10
9
}
You can’t perform that action at this time.
0 commit comments