diff options
author | bobzel <zzzman@gmail.com> | 2022-03-02 14:43:48 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-03-02 14:43:48 -0500 |
commit | 398a50bc1d7e77691620a4a6752fd38d4bb391b0 (patch) | |
tree | 42f56a2bc7cc1d661c3dfa61d49cc472fffb553c /src/fields/SchemaHeaderField.ts | |
parent | 35f0c9940d0ea7c0cb37c711557454b77ac038ad (diff) |
upgraded to typescript 4.6.2
Diffstat (limited to 'src/fields/SchemaHeaderField.ts')
-rw-r--r-- | src/fields/SchemaHeaderField.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fields/SchemaHeaderField.ts b/src/fields/SchemaHeaderField.ts index a53fa542e..3dc70ac19 100644 --- a/src/fields/SchemaHeaderField.ts +++ b/src/fields/SchemaHeaderField.ts @@ -82,32 +82,32 @@ export class SchemaHeaderField extends ObjectField { setHeading(heading: string) { this.heading = heading; - this[OnUpdate](); + this[OnUpdate]?.(); } setColor(color: string) { this.color = color; - this[OnUpdate](); + this[OnUpdate]?.(); } setType(type: ColumnType) { this.type = type; - this[OnUpdate](); + this[OnUpdate]?.(); } setWidth(width: number) { this.width = width; - this[OnUpdate](); + this[OnUpdate]?.(); } setDesc(desc: boolean | undefined) { this.desc = desc; - this[OnUpdate](); + this[OnUpdate]?.(); } setCollapsed(collapsed: boolean | undefined) { this.collapsed = collapsed; - this[OnUpdate](); + this[OnUpdate]?.(); } [Copy]() { |