summaryrefslogtreecommitdiff
path: root/js/plugins.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/plugins.d.ts')
-rw-r--r--js/plugins.d.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/plugins.d.ts b/js/plugins.d.ts
new file mode 100644
index 000000000..d1dae3885
--- /dev/null
+++ b/js/plugins.d.ts
@@ -0,0 +1,7 @@
+// This allows TypeScript to resolve any modules that end with `!string`
+// as there is a rollup plugin that will take any mids ending with `!string`
+// and return them as a string to rollup for inlining
+declare module "*!string" {
+ const value: string;
+ export default value;
+}