fix(core): update
This commit is contained in:
13
ts/index.ts
13
ts/index.ts
@ -1,3 +1,14 @@
|
||||
import * as plugins from './smartmatch.plugins';
|
||||
|
||||
export let standardExport = 'Hi there! :) This is an exported string';
|
||||
export class SmartMatch {
|
||||
private picomatch;
|
||||
public globString;
|
||||
constructor(globStringArg: string) {
|
||||
this.globString = globStringArg;
|
||||
this.picomatch = plugins.picomatch(this.globString);
|
||||
}
|
||||
|
||||
public match(matchStringArg): boolean {
|
||||
return this.picomatch(matchStringArg);
|
||||
}
|
||||
}
|
@ -1,2 +1,6 @@
|
||||
const removeme = {};
|
||||
export { removeme };
|
||||
// third party scope
|
||||
import picomatch from 'picomatch';
|
||||
|
||||
export {
|
||||
picomatch
|
||||
}
|
Reference in New Issue
Block a user