Installation
npm install --save @types/surma__rollup-plugin-off-main-thread
Summary
This package contains type definitions for @surma/rollup-plugin-off-main-thread (https://github.com/surma/rollup-plugin-off-main-thread).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/surma__rollup-plugin-off-main-thread.
import { Plugin, RenderedChunk } from "rollup";
interface OffMainThreadOptions {
loader?: string;
useEval?: boolean;
amdFunctionName?: string;
prependLoader?: (chunk: RenderedChunk, workerFiles: string[]) => boolean;
urlLoaderScheme?: string;
silenceESMWorkerWarning?: boolean;
}
declare function OMT(opts?: OffMainThreadOptions): Plugin;
export = OMT;
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: rollup
Credits
These definitions were written by Tiger Oakes.