Skip to content

Commit 8063e44

Browse files
committed
Manually ship types
1 parent e08605f commit 8063e44

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

src/index.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,29 @@ import VirtualisedTree from "@/components/VirtualisedTree.vue";
55

66
const components = [VirtualisedList, VirtualisedTree];
77

8-
// Vue 3 doesn't have Vue.use() anymore. Instead, it has instance method app.use().
8+
// Vue 3 doesn't have class method Vue.use() anymore. Instead, it uses instance method app.use().
99
const install = (app: App): void => {
1010
components.forEach((component) => app.component(component.name, component));
1111
};
1212

1313
export default { install };
1414

1515
export { VirtualisedList, VirtualisedTree };
16+
17+
export {
18+
NodeState,
19+
Node,
20+
GetNodeHeight,
21+
GetNodeKey,
22+
ConditionCallback,
23+
OnChangeCallback,
24+
} from "@/types/types";
25+
26+
export {
27+
NodeStateModel,
28+
NodeModel,
29+
UpdateNodeCallback,
30+
CreateFunction,
31+
UpdateFunction,
32+
RemoveFunction,
33+
} from "@/types/interfaces";

0 commit comments

Comments
 (0)