fix(core): update
This commit is contained in:
parent
afd8db1acf
commit
c82bb44007
@ -1,13 +1,12 @@
|
||||
import * as plugins from './smartmatch.plugins';
|
||||
|
||||
export class SmartMatch {
|
||||
private picomatch;
|
||||
public wildcard;
|
||||
public wildcard: string;
|
||||
constructor(wildcardArg: string) {
|
||||
this.wildcard = wildcardArg;
|
||||
}
|
||||
|
||||
public match(matchStringArg): boolean {
|
||||
public match(matchStringArg: string): boolean {
|
||||
return plugins.matcher.isMatch(matchStringArg, this.wildcard);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user