@types/rechoir
Version:
TypeScript definitions for rechoir
33 lines (25 loc) • 905 B
Markdown
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rechoir/index.d.ts)
````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
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
* Dependencies: [@types/interpret](https://npmjs.com/package/@types/interpret)
# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).