From 176a6816d7f760a277efebaa3f3f2ff161e00f6f Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Mon, 22 Jul 2019 13:55:32 +0300 Subject: [PATCH] d.ts for Inplace --- exports/inplace.d.ts | 1 + exports/inplace.js | 3 +++ src/components/inplace/Inplace.d.ts | 10 ++++++++++ 3 files changed, 14 insertions(+) create mode 100644 exports/inplace.d.ts create mode 100644 exports/inplace.js diff --git a/exports/inplace.d.ts b/exports/inplace.d.ts new file mode 100644 index 000000000..c3c434652 --- /dev/null +++ b/exports/inplace.d.ts @@ -0,0 +1 @@ +export * from './components/inplace/Inplace'; \ No newline at end of file diff --git a/exports/inplace.js b/exports/inplace.js new file mode 100644 index 000000000..19c9406eb --- /dev/null +++ b/exports/inplace.js @@ -0,0 +1,3 @@ +'use strict'; +module.exports = require('./components/inplace/Inplace.vue'); + \ No newline at end of file diff --git a/src/components/inplace/Inplace.d.ts b/src/components/inplace/Inplace.d.ts index e69de29bb..f2556d360 100644 --- a/src/components/inplace/Inplace.d.ts +++ b/src/components/inplace/Inplace.d.ts @@ -0,0 +1,10 @@ +import Vue, {VNode} from 'vue'; + +export declare class Inplace extends Vue { + closable?: boolean; + active?: boolean; + $slots: { + display: VNode[]; + content: VNode[]; + } +} \ No newline at end of file