forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-bower-files.d.ts
34 lines (27 loc) · 919 Bytes
/
main-bower-files.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// 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/borisyankov/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
declare module "main-bower-files" {
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[];
}
function mainBowerFiles(options?: IOptions): string[];
export = mainBowerFiles;
}