add minimatch

This commit is contained in:
Philipp Kunz 2016-07-22 14:59:09 +02:00
parent db55a46d8e
commit 24df2fd54f
3 changed files with 17 additions and 1 deletions

View File

@ -16,4 +16,8 @@ export declare class Stringmap {
* check if string is in Stringmap * check if string is in Stringmap
*/ */
checkString(stringArg: string): boolean; checkString(stringArg: string): boolean;
/**
* checks stringPresence with minimatch
*/
checkMinimatch(stringArg: string): void;
} }

View File

@ -31,6 +31,11 @@ class Stringmap {
checkString(stringArg) { checkString(stringArg) {
return this._stringArray.indexOf(stringArg) != -1; return this._stringArray.indexOf(stringArg) != -1;
} }
/**
* checks stringPresence with minimatch
*/
checkMinimatch(stringArg) {
}
} }
exports.Stringmap = Stringmap; exports.Stringmap = Stringmap;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLnN0cmluZ21hcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2xpay5zdHJpbmdtYXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUVBOztHQUVHO0FBQ0g7SUFFSTtRQURRLGlCQUFZLEdBQVksRUFBRSxDQUFDO0lBR25DLENBQUM7O0lBQ0Q7O09BRUc7SUFDSCxTQUFTLENBQUMsU0FBZ0I7UUFDdEIsSUFBSSxDQUFDLFlBQVksQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLENBQUM7SUFDdEMsQ0FBQzs7SUFFRDs7T0FFRztJQUNILFlBQVksQ0FBQyxTQUFnQjtRQUN6QixHQUFHLENBQUMsQ0FBQyxJQUFJLE1BQU0sSUFBSSxJQUFJLENBQUMsWUFBWSxDQUFDLENBQUEsQ0FBQztZQUNsQyxFQUFFLENBQUEsQ0FBQyxJQUFJLENBQUMsWUFBWSxDQUFDLE1BQU0sQ0FBQyxJQUFJLFNBQVMsQ0FBQyxDQUFBLENBQUM7Z0JBQ3ZDLElBQUksQ0FBQyxZQUFZLENBQUMsTUFBTSxDQUFDL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1lBQUEsQ0FBQztRQUNOLENBQUM7SUFDTCxDQUFDO0lBRUQ7O09BRUc7SUFDSCxXQUFXLENBQUMsU0FBZ0I7UUFDeEIsTUFBTSxDQUFDLElBQUksQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDO0lBQ3RELENBQUM7SUFFRDs7T0FFRztJQUNILGNBQWMsQ0FBQyxTQUFnQjtJQUUvQixDQUFDO0FBQ0wsQ0FBQztBQXBDWSxpQkFBUyxZQW9DckIsQ0FBQSJ9

View File

@ -32,4 +32,11 @@ export class Stringmap {
checkString(stringArg:string):boolean{ checkString(stringArg:string):boolean{
return this._stringArray.indexOf(stringArg) != -1; return this._stringArray.indexOf(stringArg) != -1;
} }
/**
* checks stringPresence with minimatch
*/
checkMinimatch(stringArg:string){
}
} }