@types/test-exclude
Version:
TypeScript definitions for test-exclude
38 lines (30 loc) • 1.09 kB
Markdown
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/test-exclude/index.d.ts)
````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](https://github.com/atlowChemi).