Installation
npm install --save @types/filing-cabinet
Summary
This package contains type definitions for filing-cabinet (https://github.com/mrjoelkemp/node-filing-cabinet).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/filing-cabinet.
declare namespace cabinet {
interface Options {
partial: string;
directory: string;
filename: string;
ast?: any;
config?: any;
webpackConfig?: any;
nodeModulesConfig?: any;
tsConfig?: string | object | undefined;
noTypeDefinitions?: boolean | undefined;
}
type Resolver = (partial: string, filename: string, directory: string, config?: any) => void;
function register(extension: string, resolver: Resolver): void;
}
declare function cabinet(options: cabinet.Options): string;
export = cabinet;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Piotr Błażejewicz (Peter Blazejewicz).