Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

chore: add typings for nuxt context

Andrew Bastina8acc3eef8c9
diff --git a/packages/hoppscotch-app/types/nuxt-exts.d.ts b/packages/hoppscotch-app/types/nuxt-exts.d.ts
new file mode 100644
index 000000000..4a0cc90e9
--- /dev/null
+++ b/packages/hoppscotch-app/types/nuxt-exts.d.ts
@@ -0,0 +1,9 @@
+import "@nuxt/types/app"
+
+declare module "@nuxt/types/app" {
+ interface NuxtApp {
+ $worker: {
+ createRejexWorker: () => Worker
+ }
+ }
+}