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;