@plugjs/tsd
Version:
Zip File Plugin for the PlugJS Build System ===========================================
18 lines (17 loc) • 515 B
TypeScript
/** Options for the {@link Tsd} plug */
export interface TsdOptions {
/** Current working directory of the project to retrieve the diagnostics for */
cwd?: string;
/** Path to the type definition file you want to test */
typingsFile?: string;
}
declare module '@plugjs/plug' {
interface Pipe {
/**
* Run all tests from incoming {@link Files} with `Tsd`.
*
* @param options Options to comfigure Tsd.
*/
tsd(options?: TsdOptions): Pipe;
}
}