npm.io
0.6.4 • Published 2 years ago

@types/rechoir

Licence
MIT
Version
0.6.4
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/rechoir

Summary

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

Details

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

index.d.ts

import { Extensions } from "interpret";

export function prepare(
    config: Extensions,
    filepath: string,
    requireFrom?: string,
): true | Attempt[];

export interface Attempt {
    moduleName: string;
    module: any;
    error: Error | null;
}

Additional Details

Credits

These definitions were written by BendingBender.