@types/little-loader
Version:
TypeScript definitions for little-loader
38 lines (29 loc) • 1.01 kB
Markdown
> `npm install --save @types/little-loader`
This package contains type definitions for little-loader (https://github.com/walmartlabs/little-loader).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/little-loader.
````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;
````
* Last updated: Tue, 07 Nov 2023 09:09:38 GMT
* Dependencies: none
These definitions were written by [Chris Drackett](https://github.com/chrisdrackett).