Make Paragraph declaritive
This commit is contained in:
@ -2,11 +2,9 @@
|
||||
import { Attributes, XmlComponent } from "file/xml-components";
|
||||
|
||||
export class OutlineLevel extends XmlComponent {
|
||||
public readonly level: string;
|
||||
|
||||
constructor(level: string) {
|
||||
constructor(public readonly level: number) {
|
||||
super("w:outlineLvl");
|
||||
this.level = level;
|
||||
|
||||
this.root.push(
|
||||
new Attributes({
|
||||
val: level,
|
||||
|
Reference in New Issue
Block a user