From f7207a091fa9cee1929d595216025ee8d740c4ce Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Thu, 5 Dec 2019 11:15:06 +0300 Subject: [PATCH] Shorthand and Ts for MegaMenu --- exports/megamenu.d.ts | 1 + exports/megamenu.js | 2 ++ src/components/megamenu/MegaMenu.d.ts | 6 ++++++ 3 files changed, 9 insertions(+) create mode 100644 exports/megamenu.d.ts create mode 100644 exports/megamenu.js create mode 100644 src/components/megamenu/MegaMenu.d.ts diff --git a/exports/megamenu.d.ts b/exports/megamenu.d.ts new file mode 100644 index 000000000..87a5e3f03 --- /dev/null +++ b/exports/megamenu.d.ts @@ -0,0 +1 @@ +export * from './components/megamenu/MegaMenu'; \ No newline at end of file diff --git a/exports/megamenu.js b/exports/megamenu.js new file mode 100644 index 000000000..7aa9d1bd9 --- /dev/null +++ b/exports/megamenu.js @@ -0,0 +1,2 @@ +'use strict'; +module.exports = require('./components/megamenu/MegaMenu.vue'); \ No newline at end of file diff --git a/src/components/megamenu/MegaMenu.d.ts b/src/components/megamenu/MegaMenu.d.ts new file mode 100644 index 000000000..324be4163 --- /dev/null +++ b/src/components/megamenu/MegaMenu.d.ts @@ -0,0 +1,6 @@ +import Vue from 'vue'; + +export declare class MegaMenu extends Vue { + model?: any[]; + orientation?: string; +} \ No newline at end of file