react-native-vision-camera/src/globals.d.ts
Marc Rousavy ad151b3870 Revert "Update globals.d.ts"
This reverts commit c81a9e4799.
2021-05-06 16:12:43 +02:00

20 lines
529 B
TypeScript

/* eslint-disable no-var */
/**
* `true` if currently running in a Frame Processor runtime
*/
declare var _FRAME_PROCESSOR: true | undefined;
/**
* `true` if currently running in a reanimated UI runtime
*/
declare var _UI: true | undefined;
/**
* `true` if currently running in a Worklet runtime (frame processor, multithreading, reanimated)
*/
declare var _WORKLET: true | undefined;
/**
* A native logging function (outputs to Xcode console/Android Logcat)
*/
declare var _log: (message: string) => void | undefined;