🚧 WIP:Work on types and exports
This commit is contained in:
parent
145272c546
commit
c8d502c698
16 changed files with 312 additions and 95 deletions
14
lib/option.ts
Normal file
14
lib/option.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
import { PatternOption } from './types'
|
||||
export default class Option {
|
||||
id: string;
|
||||
config: PatternOption;
|
||||
val: number;
|
||||
|
||||
constructor(config: PatternOption) {
|
||||
this.id = config.id;
|
||||
this.config = config;
|
||||
this.val = config.val;
|
||||
|
||||
return this;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue