15 lines
266 B
TypeScript
15 lines
266 B
TypeScript
![]() |
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;
|
||
|
}
|
||
|
}
|