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

0.0.5 • Public • Published

Installation

npm install --save @types/scriptjs

Summary

This package contains type definitions for scriptjs (https://github.com/ded/script.js).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/scriptjs.

index.d.ts

interface $script {
    (paths: string | string[], idOrDone: string | (() => void), optDone?: () => void): $script;
    get(path: string, fn: () => void): void;
    order(scripts: string[], id: string, done: () => void): void;
    path(p: string): void;
    urlArgs(str: string): void;
    ready(deps: string | string[], ready: () => void, req?: (missing: string[]) => void): $script;
}

declare module "scriptjs" {
    var $script: $script;
    export = $script;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Steve Lam.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/scriptjs

      Weekly Downloads

      50,211

      Version

      0.0.5

      License

      MIT

      Unpacked Size

      3.45 kB

      Total Files

      5

      Last publish

      Collaborators

      • types