Skip to content

Commit b8524b1

Browse files
committed
Add VueUiAnnotator treeshaken types
1 parent 91d6659 commit b8524b1

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

types/vue-data-ui.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2413,7 +2413,7 @@ declare module "vue-data-ui" {
24132413

24142414
export const VueUiAnnotator: DefineComponent<{
24152415
config?: VueUiAnnotatorConfig;
2416-
dataset: VueUiAnnotatorDataset;
2416+
dataset?: VueUiAnnotatorDataset;
24172417
}>;
24182418

24192419
export type VueUiDashboardConfig = {

types/vue-ui-annotator.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { DefineComponent } from 'vue';
2+
3+
export type {
4+
VueUiAnnotatorConfig,
5+
VueUiAnnotatorDataset
6+
} from "./vue-data-ui";
7+
8+
declare const VueUiAnnotator: DefineComponent<{
9+
config?: VueUiAnnotatorConfig;
10+
dataset?: VueUiAnnotatorDataset;
11+
}>;
12+
13+
export default VueUiAnnotator;
14+
export { VueUiAnnotator };

0 commit comments

Comments
 (0)