fix: Fix global.FrameProcessorPlugins TS error

This commit is contained in:
Marc Rousavy
2023-02-15 19:15:36 +01:00
parent 0635d4aba0
commit 1f7a2e07f2
2 changed files with 1 additions and 6 deletions

View File

@@ -13,6 +13,7 @@ type TFrameProcessorPlugins = Record<string, FrameProcessor>;
/**
* All natively installed Frame Processor Plugins.
*/
// @ts-expect-error The global JSI Proxy object is not typed.
export const FrameProcessorPlugins = global.FrameProcessorPlugins as TFrameProcessorPlugins;
const lastFrameProcessorCall = Worklets.createSharedValue(performance.now());