UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

35 lines (27 loc) 923 B
// 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 /// <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; }