File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11/coverage /
22/demo /lib /
3+ /demo /webpack.config.js
34/lib /
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ function generatePattern(words: string): RegExp {
4141 return pattern ;
4242}
4343
44- let clearSuccessIndicatorHandle : NodeJS . Timeout ;
44+ let clearSuccessIndicatorHandle : number ;
4545function displayPattern ( pattern : RegExp ) : void {
4646 $output . value = pattern . toString ( ) ;
4747 $output . dispatchEvent ( new Event ( 'input' ) ) ;
@@ -50,7 +50,7 @@ function displayPattern(pattern: RegExp): void {
5050 $output . classList . add ( 'is-valid' ) ;
5151
5252 clearTimeout ( clearSuccessIndicatorHandle ) ;
53- clearSuccessIndicatorHandle = setTimeout (
53+ clearSuccessIndicatorHandle = window . setTimeout (
5454 ( ) => $output . classList . remove ( 'is-valid' ) ,
5555 1000
5656 ) ;
Original file line number Diff line number Diff line change 1010 ]
1111 },
1212 "extends" : " ../tsconfig.json" ,
13- "include" : [" ../src" , " ./src" , " ./webpack.config.js " ]
13+ "include" : [" ../src" , " ./src" ]
1414}
Original file line number Diff line number Diff line change 4343 "@types/escape-string-regexp" : " ^1.0.0" ,
4444 "@types/jest" : " ^24.0.18" ,
4545 "@types/jest-when" : " ^2.7.0" ,
46- "@types/node" : " ^12.7.5" ,
4746 "@typescript-eslint/eslint-plugin" : " ^2.2.0" ,
4847 "@typescript-eslint/parser" : " ^2.2.0" ,
4948 "codecov" : " ^3.6.1" ,
You can’t perform that action at this time.
0 commit comments