UNPKG

1.02 kBMarkdownView Raw
1# Installation
2> `npm install --save @types/ignore-styles`
3
4# Summary
5This package contains type definitions for ignore-styles (https://github.com/bkonkle/ignore-styles).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ignore-styles.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ignore-styles/index.d.ts)
10````ts
11/// <reference types='node' />
12
13export type Handler = (m: NodeModule, filename: string) => any;
14
15export const DEFAULT_EXTENSIONS: string[];
16
17export let oldHandlers: {
18 [ext: string]: Handler;
19};
20
21export function noOp(): void;
22
23export function restore(): void;
24
25export default function register(
26 extensions?: string[],
27 handler?: Handler,
28): void;
29
30````
31
32### Additional Details
33 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
34 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
35
36# Credits
37These definitions were written by [Taiju Muto](https://github.com/tai2).
38
\No newline at end of file