@types/little-loader
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/little-loader

Weekly Downloads

795

Version

0.2.4

License

MIT

Unpacked Size

3.36 kB

Total Files

5

Last publish

Collaborators

  • types