ð§ Question time
This commit is contained in:
parent
38ccf65789
commit
20eafd4a99
17 changed files with 123 additions and 44 deletions
21
dist/lib/model.d.ts
vendored
21
dist/lib/model.d.ts
vendored
|
@ -1,7 +1,16 @@
|
|||
import { PatternOption } from './types';
|
||||
export default class Model {
|
||||
id: string;
|
||||
config: PatternOption;
|
||||
val: number;
|
||||
constructor(config: PatternOption);
|
||||
import { PatternConfig } from './types';
|
||||
import Part from './part';
|
||||
import Option from './option';
|
||||
export default class Pattern {
|
||||
config: PatternConfig;
|
||||
parts: {
|
||||
[propName: string]: Part;
|
||||
};
|
||||
options: {
|
||||
[propName: string]: Option;
|
||||
};
|
||||
constructor(config: PatternConfig);
|
||||
draft(config: object): void;
|
||||
getOption(id: string | number): any;
|
||||
o(id: string | number): any;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue