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

1.1.3 • Public • Published

Installation

npm install --save @types/interpret

Summary

This package contains type definitions for interpret (https://github.com/gulpjs/interpret).

Details

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

index.d.ts

/// <reference types="node" />

export interface Hook {
    (m: { extensions: string } | NodeModule): any;
    install(m?: { extension: string; [key: string]: any }): void;
}

export type RegisterFn = (hook: Hook) => void;

export interface ExtensionDescriptor {
    module: string;
    register: RegisterFn;
}

export type Extension = string | ExtensionDescriptor | Array<string | ExtensionDescriptor>;
export interface Extensions {
    [extension: string]: Extension | null;
}

export const extensions: Extensions;
export const jsVariants: Extensions;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/node

Credits

These definitions were written by BendingBender.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/interpret

Weekly Downloads

184,441

Version

1.1.3

License

MIT

Unpacked Size

3.74 kB

Total Files

5

Last publish

Collaborators

  • types