1
0
Fork 0
freesewing/dist/lib/pattern.d.ts

15 lines
344 B
TypeScript
Raw Normal View History

2018-07-10 12:20:53 +00:00
import { PatternConfig } from './types';
2018-07-10 19:29:09 +02:00
import Part from './part';
import Option from './option';
2018-07-10 12:20:53 +00:00
export default class Pattern {
config: PatternConfig;
2018-07-10 19:29:09 +02:00
parts: {
[propName: string]: Part;
};
options: {
[propName: string]: Option;
};
2018-07-10 12:20:53 +00:00
constructor(config: PatternConfig);
2018-07-10 19:29:09 +02:00
draft(config: object): void;
2018-07-10 12:20:53 +00:00
}