docx-rs/docx-wasm/js/abstract-numbering.ts

14 lines
234 B
TypeScript

import { Level } from "./level";
export class AbstractNumbering {
id: number;
levels: Level[] = [];
constructor(id: number) {
this.id = id;
}
addLevel(level: Level) {
this.levels.push(level);
return this;
}
}