File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
packages/react-test-renderer/src Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ export const warnsIfNotActing = true;
268268export const scheduleTimeout = setTimeout ;
269269export const cancelTimeout = clearTimeout ;
270270
271- export const noTimeout = - 1 ;
271+ export const noTimeout : - 1 = - 1 ;
272272
273273// -------------------
274274// Mutation
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ import {
6161} from 'shared/ReactFeatureFlags' ;
6262
6363import noop from 'shared/noop' ;
64+ import type { WorkTag } from 'react-reconciler/src/ReactWorkTags' ;
6465
6566const defaultOnDefaultTransitionIndicator : ( ) => void | ( ( ) => void ) = noop ;
6667
@@ -244,7 +245,7 @@ function toTree(node: null | Fiber): $FlowFixMe {
244245 }
245246}
246247
247- const validWrapperTypes = new Set ( [
248+ const validWrapperTypes : Set < WorkTag > = new Set ( [
248249 FunctionComponent ,
249250 ClassComponent ,
250251 HostComponent ,
You can’t perform that action at this time.
0 commit comments