Use new eslint-plugin-functional instead of tslint-immutable

This commit is contained in:
Dolan Miu
2022-09-15 20:00:50 +01:00
parent d020d59b11
commit e90d97b813
70 changed files with 321 additions and 436 deletions

View File

@ -2,13 +2,17 @@ import { Paragraph } from "./paragraph";
import { Table } from "./table";
export interface IHeaderOptions {
readonly children: (Paragraph | Table)[];
readonly children: readonly (Paragraph | Table)[];
}
export class Header {
public constructor(public readonly options: IHeaderOptions = { children: [] }) {}
public constructor(public readonly options: IHeaderOptions = { children: [] }) {
// noop
}
}
export class Footer {
public constructor(public readonly options: IHeaderOptions = { children: [] }) {}
public constructor(public readonly options: IHeaderOptions = { children: [] }) {
// noop
}
}