From d1dcee895a1067309d150002a32ffe914f6319d6 Mon Sep 17 00:00:00 2001 From: Andrea Stagi Date: Thu, 22 Oct 2020 10:37:00 +0200 Subject: [PATCH] Add typescript support for clickOutside directive --- package.json | 3 ++- types/v-click-outside.d.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 types/v-click-outside.d.ts diff --git a/package.json b/package.json index 4db1bc93..381bc34f 100644 --- a/package.json +++ b/package.json @@ -57,5 +57,6 @@ }, "engines": { "node": ">=6" - } + }, + "types": "types/v-click-outside.d.ts" } diff --git a/types/v-click-outside.d.ts b/types/v-click-outside.d.ts new file mode 100644 index 00000000..4ea8d1c9 --- /dev/null +++ b/types/v-click-outside.d.ts @@ -0,0 +1 @@ +declare module 'v-click-outside';