mirror of
https://gitee.com/vuejs/vue.git
synced 2024-11-30 02:57:43 +08:00
feat(types): expose $vnode
This commit is contained in:
parent
11614d63b7
commit
1b7ddd7a35
@ -14,6 +14,7 @@ class Test extends Vue {
|
||||
this.$slots;
|
||||
this.$isServer;
|
||||
this.$ssrContext;
|
||||
this.$vnode;
|
||||
}
|
||||
|
||||
// test property reification
|
||||
|
1
types/vue.d.ts
vendored
1
types/vue.d.ts
vendored
@ -44,6 +44,7 @@ export declare class Vue {
|
||||
readonly $isServer: boolean;
|
||||
readonly $ssrContext: any;
|
||||
readonly $props: any;
|
||||
readonly $vnode: VNode;
|
||||
|
||||
$mount(elementOrSelector?: Element | String, hydrating?: boolean): this;
|
||||
$forceUpdate(): void;
|
||||
|
Loading…
Reference in New Issue
Block a user