DefinitelyTyped/types/rechoir/index.d.ts
2019-02-12 14:36:28 -08:00

19 lines
472 B
TypeScript

// Type definitions for rechoir 0.6
// Project: https://github.com/gulpjs/rechoir
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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;
}