diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-08-01 20:28:00 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-08-01 20:28:00 +0200 |
commit | 568ca6a042b3246f0d22d3d9d7c504d7e4c73e68 (patch) | |
tree | f427e204c88843d4c01346cff6a4d41d78e032bd /static/components/vevent.ts | |
parent | Change README to a markdown file. (diff) | |
download | calp-568ca6a042b3246f0d22d3d9d7c504d7e4c73e68.tar.gz calp-568ca6a042b3246f0d22d3d9d7c504d7e4c73e68.tar.xz |
Minor cleanup in TS files.
Diffstat (limited to '')
-rw-r--r-- | static/components/vevent.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/components/vevent.ts b/static/components/vevent.ts index 5852a2ff..7487cbb6 100644 --- a/static/components/vevent.ts +++ b/static/components/vevent.ts @@ -10,12 +10,12 @@ Lacks an accompaning tag, and shouldn't be directly instanciated. */ abstract class ComponentVEvent extends HTMLElement { - template: HTMLTemplateElement | null + template?: HTMLTemplateElement uid: string constructor(uid?: string) { super(); - this.template = document.getElementById(this.tagName.toLowerCase()) as HTMLTemplateElement | null + this.template = document.getElementById(this.tagName.toLowerCase()) as HTMLTemplateElement | undefined let real_uid; |