1 | # Installation
|
2 | > `npm install --save @types/ignore-styles`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for ignore-styles (https://github.com/bkonkle/ignore-styles).
|
6 |
|
7 | # Details
|
8 | Files 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 |
|
13 | export type Handler = (m: NodeModule, filename: string) => any;
|
14 |
|
15 | export const DEFAULT_EXTENSIONS: string[];
|
16 |
|
17 | export let oldHandlers: {
|
18 | [ext: string]: Handler;
|
19 | };
|
20 |
|
21 | export function noOp(): void;
|
22 |
|
23 | export function restore(): void;
|
24 |
|
25 | export 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
|
37 | These definitions were written by [Taiju Muto](https://github.com/tai2).
|
38 |
|
\ | No newline at end of file |