mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 11:51:10 +08:00
35 lines
829 B
TypeScript
35 lines
829 B
TypeScript
// Type definitions for main-bower-files
|
|
// Project: https://github.com/ck86/main-bower-files
|
|
// Definitions by: Keita Kagurazaka <https://github.com/k-kagurazaka>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.2
|
|
|
|
/// <reference types="node" />
|
|
|
|
|
|
|
|
interface IPaths {
|
|
bowerDirectory?: string;
|
|
bowerrc?: string;
|
|
bowerJson?: string;
|
|
}
|
|
|
|
interface IFilterFunction {
|
|
(filepath: string): boolean;
|
|
}
|
|
|
|
interface IOptions {
|
|
debugging?: boolean;
|
|
main?: string | string[] | Object;
|
|
env?: string;
|
|
paths?: IPaths | string;
|
|
checkExistence?: boolean;
|
|
includeDev?: boolean | string;
|
|
includeSelf?: boolean;
|
|
filter?: RegExp | IFilterFunction | string | string[];
|
|
}
|
|
|
|
declare function mainBowerFiles(options?: IOptions): string[];
|
|
|
|
export = mainBowerFiles;
|