From a8acc3eef8c9728d3fd3ca525036dc2aa7e8eae9 Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Fri, 1 Apr 2022 21:57:55 +0530 Subject: [PATCH] chore: add typings for nuxt context --- packages/hoppscotch-app/types/nuxt-exts.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 packages/hoppscotch-app/types/nuxt-exts.d.ts 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 + } + } +}