Installation
npm install --save @types/little-loader
Summary
This package contains type definitions for little-loader (https://github.com/walmartlabs/little-loader).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/little-loader.
index.d.ts
interface Options {
context?: any;
setup?: ((this: any, script: any) => void) | undefined;
callback?: ((this: any, err: string) => void) | undefined;
}
declare function loader(
module: string,
callback?: (this: any, err: string) => void,
context?: any,
): void;
declare function loader(
module: string,
options?: Options,
): void;
export = loader;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:38 GMT
- Dependencies: none
Credits
These definitions were written by Chris Drackett.