From cb65d7228b9a7aad815f70efe23a27a5a779f2c9 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 8 Feb 2021 11:50:02 +0300 Subject: [PATCH] Fixed #877 - Compile Problem with Directives --- src/components/ripple/Ripple.d.ts | 6 +++--- src/components/tooltip/Tooltip.d.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/ripple/Ripple.d.ts b/src/components/ripple/Ripple.d.ts index 6e974106f..3a7786254 100644 --- a/src/components/ripple/Ripple.d.ts +++ b/src/components/ripple/Ripple.d.ts @@ -1,5 +1,5 @@ -import Directive from 'vue'; +import { ObjectDirective } from 'vue'; -declare interface Ripple extends Directive {} +declare const Ripple: ObjectDirective; -export default Ripple; \ No newline at end of file +export default Ripple; diff --git a/src/components/tooltip/Tooltip.d.ts b/src/components/tooltip/Tooltip.d.ts index 0fd906189..d3d50a53e 100755 --- a/src/components/tooltip/Tooltip.d.ts +++ b/src/components/tooltip/Tooltip.d.ts @@ -1,5 +1,5 @@ -import Directive from 'vue'; +import { ObjectDirective } from 'vue'; -declare interface Tooltip extends Directive {} +declare const Tooltip: ObjectDirective; -export default Tooltip; \ No newline at end of file +export default Tooltip;