@types/test-exclude
TypeScript icon, indicating that this package has built-in type declarations

6.0.2 • Public • Published

Installation

npm install --save @types/test-exclude

Summary

This package contains type definitions for test-exclude (https://istanbul.js.org/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/test-exclude.

index.d.ts

interface TestExcludeOptions {
    cwd?: string;
    include?: string | string[];
    extension?: string | string[];
    exclude?: string | string[];
    excludeNodeModules?: boolean;
    relativePath?: boolean;
}
declare class TestExclude {
    constructor(options?: TestExcludeOptions);

    shouldInstrument(filename: string): boolean;
    globSync(cwd?: string): string[];
    glob(cwd?: string): Promise<string[]>;
}

declare const _TestExclude: typeof TestExclude;
export = _TestExclude;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by atlowChemi.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/test-exclude

Weekly Downloads

12,184

Version

6.0.2

License

MIT

Unpacked Size

3.53 kB

Total Files

5

Last publish

Collaborators

  • types