20 lines
518 B
TypeScript
20 lines
518 B
TypeScript
import Immutable from "immutable";
|
|
declare const Ignore_base: Immutable.Record.Class;
|
|
declare class Ignore extends Ignore_base {
|
|
getIgnore(): any;
|
|
/**
|
|
Test if a file is ignored by these rules
|
|
|
|
@return {boolean}
|
|
* @param filename
|
|
*/
|
|
isFileIgnored(filename: string): boolean;
|
|
/**
|
|
Add rules
|
|
@param {string}
|
|
@return {Ignore}
|
|
*/
|
|
add(rule: string | import("ignore").Ignore): Immutable.Map<string, any>;
|
|
}
|
|
export default Ignore;
|
|
//# sourceMappingURL=ignore.d.ts.map
|