about summary refs log tree commit diff stats
path: root/src/js/strings.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/strings.nim')
-rw-r--r--src/js/strings.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/js/strings.nim b/src/js/strings.nim
new file mode 100644
index 00000000..ab0dd753
--- /dev/null
+++ b/src/js/strings.nim
@@ -0,0 +1,3 @@
+type
+  NarrowString* = distinct string
+  WideString* = distinct seq[uint16]