mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Update RN dynamic flag types (#28427)
Updates the RN flag flow types to work like www does, so we can use the `.native-fb-dynamic.js` file as the type/shim for the dynamically imported file.
This commit is contained in:
@@ -8,16 +8,5 @@
|
||||
*/
|
||||
|
||||
declare module 'ReactNativeInternalFeatureFlags' {
|
||||
declare export const alwaysThrottleDisappearingFallbacks: boolean;
|
||||
declare export const alwaysThrottleRetries: boolean;
|
||||
declare export const consoleManagedByDevToolsDuringStrictMode: boolean;
|
||||
declare export const enableAsyncActions: boolean;
|
||||
declare export const enableComponentStackLocations: boolean;
|
||||
declare export const enableDeferRootSchedulingToMicrotask: boolean;
|
||||
declare export const enableInfiniteRenderLoopDetection: boolean;
|
||||
declare export const enableRenderableContext: boolean;
|
||||
declare export const enableUnifiedSyncLane: boolean;
|
||||
declare export const enableUseRefAccessWarning: boolean;
|
||||
declare export const passChildrenWhenCloningPersistedNodes: boolean;
|
||||
declare export const useModernStrictMode: boolean;
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user