Skip to content

Commit f19b453

Browse files
committed
Flow fixes for more renderers
1 parent 98f47d0 commit f19b453

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-native-renderer/src/ReactFiberConfigFabric.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ export const warnsIfNotActing = false;
431431

432432
export const scheduleTimeout = setTimeout;
433433
export const cancelTimeout = clearTimeout;
434-
export const noTimeout = -1;
434+
export const noTimeout: -1 = -1;
435435

436436
// -------------------
437437
// Persistence

packages/react-native-renderer/src/ReactFiberConfigNative.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export const warnsIfNotActing = true;
326326

327327
export const scheduleTimeout = setTimeout;
328328
export const cancelTimeout = clearTimeout;
329-
export const noTimeout = -1;
329+
export const noTimeout: -1 = -1;
330330

331331
export function shouldSetTextContent(type: string, props: Props): boolean {
332332
// TODO (bvaughn) Revisit this decision.

0 commit comments

Comments
 (0)