File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,11 +145,11 @@ export class FormStore {
145
145
} ;
146
146
147
147
// ========================== Dev Warning =========================
148
- private timeoutId : number = null ;
148
+ private timeoutId : any = null ;
149
149
150
150
private warningUnhooked = ( ) => {
151
151
if ( process . env . NODE_ENV !== 'production' && ! this . timeoutId && typeof window !== 'undefined' ) {
152
- this . timeoutId = window . setTimeout ( ( ) => {
152
+ this . timeoutId = setTimeout ( ( ) => {
153
153
this . timeoutId = null ;
154
154
155
155
if ( ! this . formHooked ) {
Original file line number Diff line number Diff line change 1
1
import RawAsyncValidator from 'async-validator' ;
2
2
import * as React from 'react' ;
3
3
import warning from 'rc-util/lib/warning' ;
4
- import {
4
+ import type {
5
5
InternalNamePath ,
6
6
ValidateOptions ,
7
7
ValidateMessages ,
You can’t perform that action at this time.
0 commit comments