aboutsummaryrefslogtreecommitdiff
path: root/static/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'static/types.ts')
-rw-r--r--static/types.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/static/types.ts b/static/types.ts
index 1cf77f51..6d1331c7 100644
--- a/static/types.ts
+++ b/static/types.ts
@@ -181,6 +181,10 @@ let valid_input_types: Map<string, ical_type | ical_type[]> =
type tagname = 'vevent' | string
-type JCalProperty = [string, any, ical_type, any[]]
+/* TODO is this type correct?
+ What really are valid values for any? Does that depend on ical_type? Why is the tail a list?
+ What really is the type for the parameter map?
+*/
+type JCalProperty = [string, Map<string, any>, ical_type, any[]]
type JCal = [tagname, JCalProperty[], JCal[]]