UNPKG

makit

Version:

Make in JavaScript done right!

20 lines (19 loc) 483 B
export declare type TargetDeclaration = string | RegExp; export declare enum TargetType { glob = 0, regexp = 1, filepath = 2 } export declare class Target { private targetType; private _decl; private rTarget?; private glob?; constructor(target: TargetDeclaration); get decl(): string | RegExp; isFilePath(): this is { decl: string; }; exec(targetFile: string): RegExpExecArray | null; private static execArrayFromString; }