Add strict types for file child

This commit is contained in:
Dolan Miu
2023-01-23 14:14:05 +00:00
parent cee0114f81
commit 21a6767c6f
5 changed files with 14 additions and 10 deletions

View File

@ -1,5 +1,5 @@
// http://officeopenxml.com/WPtableGrid.php
import { XmlComponent } from "@file/xml-components";
import { FileChild } from "@file/file-child";
import { AlignmentType } from "../paragraph";
import { TableGrid } from "./grid";
@ -34,7 +34,7 @@ export interface ITableOptions {
readonly visuallyRightToLeft?: boolean;
}
export class Table extends XmlComponent {
export class Table extends FileChild {
public constructor({
rows,
width,