mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
19 lines
472 B
TypeScript
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;
|
|
}
|