0.2.4 • Published 2 years ago
@types/little-loader v0.2.4
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
// Type definitions for little-loader 0.2
// Project: https://github.com/walmartlabs/little-loader
// Definitions by: Chris Drackett <https://github.com/chrisdrackett>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Thu, 08 Jul 2021 16:23:46 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Chris Drackett.