Installation
npm install --save @types/main-bower-files
Summary
This package contains type definitions for main-bower-files (https://github.com/ck86/main-bower-files).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/main-bower-files.
index.d.ts
/// <reference types="node" />
interface IPaths {
bowerDirectory?: string | undefined;
bowerrc?: string | undefined;
bowerJson?: string | undefined;
}
interface IFilterFunction {
(filepath: string): boolean;
}
interface IOptions {
debugging?: boolean | undefined;
main?: string | string[] | Object | undefined;
env?: string | undefined;
paths?: IPaths | string | undefined;
checkExistence?: boolean | undefined;
includeDev?: boolean | string | undefined;
includeSelf?: boolean | undefined;
filter?: RegExp | IFilterFunction | string | string[] | undefined;
}
declare function mainBowerFiles(options?: IOptions, callback?: (error: Error | null) => void): string[];
export = mainBowerFiles;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/node
Credits
These definitions were written by Keita Kagurazaka.