Skip to content

Commit 60bf8e1

Browse files
feat: change lib entry file to swich wrap() depending on using Vue's version
1 parent d618d5f commit 60bf8e1

16 files changed

+969
-530
lines changed

dist/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import type VueV2 from 'vue';
2+
import type { Component, AsyncComponent } from 'vue';
3+
import type * as VueV3 from 'vue-v3';
4+
export default function wrap(Vue: typeof VueV2 | typeof VueV3, Component: Component | AsyncComponent): CustomElementConstructor;

0 commit comments

Comments
 (0)