aboutsummaryrefslogtreecommitdiff
path: root/static/components/vevent.ts
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-08-01 20:28:00 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-08-01 20:28:00 +0200
commit568ca6a042b3246f0d22d3d9d7c504d7e4c73e68 (patch)
treef427e204c88843d4c01346cff6a4d41d78e032bd /static/components/vevent.ts
parentChange README to a markdown file. (diff)
downloadcalp-568ca6a042b3246f0d22d3d9d7c504d7e4c73e68.tar.gz
calp-568ca6a042b3246f0d22d3d9d7c504d7e4c73e68.tar.xz
Minor cleanup in TS files.
Diffstat (limited to 'static/components/vevent.ts')
-rw-r--r--static/components/vevent.ts4
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;