This commit is contained in:
Nathan Bierema
2018-11-02 04:10:16 -04:00
parent 93cc9ad5d6
commit eba1463659
+1 -1
View File
@@ -21,7 +21,7 @@ export const unstable_UserBlockingPriority = 2;
export const unstable_NormalPriority = 3;
export const unstable_IdlePriority = 4;
export function unstable_runWithPriority<T>(priorityLevel: number, eventHandler: () => T): T | undefined;
export function unstable_scheduleCallback(callback: F4ameCallbackType, deprecated_options?: { timeout: number}): CallbackNode;
export function unstable_scheduleCallback(callback: FrameCallbackType, deprecated_options?: { timeout: number}): CallbackNode;
export function unstable_cancelCallback(callbackNode: CallbackNode): void;
export function unstable_wrapCallback(callback: FrameCallbackType): () => FrameCallbackType | undefined;
export function unstable_getCurrentPriorityLevel(): number;