diff options
author | bptato <nincsnevem662@gmail.com> | 2023-09-09 11:20:42 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-09-09 11:20:42 +0200 |
commit | 07245ef4826298fffc3e34e34a74fdf77c7a4fac (patch) | |
tree | 7b0d0aa27da58ad7109fe69d51beed7a159f1aac /src/js/dict.nim | |
parent | 11219c7d21c8ec7f438d52de063c4ac25f84711d (diff) | |
download | chawan-07245ef4826298fffc3e34e34a74fdf77c7a4fac.tar.gz |
javascript: add JSDict type
And use that in extern().
Diffstat (limited to 'src/js/dict.nim')
-rw-r--r-- | src/js/dict.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/js/dict.nim b/src/js/dict.nim new file mode 100644 index 00000000..5003b92c --- /dev/null +++ b/src/js/dict.nim @@ -0,0 +1,5 @@ +# This is the WebIDL dictionary type. +# We only use it for type inference in generics. +#TODO required members + +type JSDict* = object of RootObj |