npm.io
0.0.38 • Published 2 years ago

@types/main-bower-files

Licence
MIT
Version
0.0.38
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

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 0939 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Keita Kagurazaka.