diff --git a/src/FrameProcessorPlugins.ts b/src/FrameProcessorPlugins.ts index d0550f7..42392fb 100644 --- a/src/FrameProcessorPlugins.ts +++ b/src/FrameProcessorPlugins.ts @@ -13,6 +13,7 @@ type TFrameProcessorPlugins = Record; /** * 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()); diff --git a/src/globals.d.ts b/src/globals.d.ts deleted file mode 100644 index 94da873..0000000 --- a/src/globals.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* eslint-disable no-var */ - -/** - * The global Frame Processor plugins registry - will be initialized after the `installFrameProcessorBindings()` call - */ -declare var FrameProcessorPlugins: Record | undefined;