fix(core): update

This commit is contained in:
Philipp Kunz 2020-02-25 19:55:32 +00:00
parent afd8db1acf
commit c82bb44007

View File

@ -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);
}
}