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