Skip to content

Commit 9321458

Browse files
committed
types: types for setup() + format types
1 parent f29ad1d commit 9321458

File tree

15 files changed

+1108
-695
lines changed

15 files changed

+1108
-695
lines changed

types/index.d.ts

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
import { Vue } from "./vue";
2-
import "./umd";
1+
import { Vue } from './vue'
2+
import './umd'
33

4-
export default Vue;
4+
export default Vue
55

6-
export {
7-
CreateElement,
8-
VueConstructor
9-
} from "./vue";
6+
export { CreateElement, VueConstructor } from './vue'
107

118
export {
129
Component,
@@ -22,12 +19,9 @@ export {
2219
WatchOptionsWithHandler,
2320
DirectiveFunction,
2421
DirectiveOptions
25-
} from "./options";
22+
} from './options'
2623

27-
export {
28-
PluginFunction,
29-
PluginObject
30-
} from "./plugin";
24+
export { PluginFunction, PluginObject } from './plugin'
3125

3226
export {
3327
VNodeChildren,
@@ -36,4 +30,6 @@ export {
3630
VNodeComponentOptions,
3731
VNodeData,
3832
VNodeDirective
39-
} from "./vnode";
33+
} from './vnode'
34+
35+
export { h, getCurrentInstance } from './v3'

0 commit comments

Comments
 (0)