diff --git a/types/test/vue-test.ts b/types/test/vue-test.ts index 3ea0c30846c..84e5e702143 100644 --- a/types/test/vue-test.ts +++ b/types/test/vue-test.ts @@ -13,6 +13,7 @@ class Test extends Vue { this.$refs; this.$slots; this.$isServer; + this.$ssrContext; } // test property reification diff --git a/types/vue.d.ts b/types/vue.d.ts index 04b112b9eb8..b3bd1cdfea0 100644 --- a/types/vue.d.ts +++ b/types/vue.d.ts @@ -42,6 +42,7 @@ export declare class Vue { readonly $slots: { [key: string]: VNode[] }; readonly $scopedSlots: { [key: string]: ScopedSlot }; readonly $isServer: boolean; + readonly $ssrContext: any; readonly $props: any; $mount(elementOrSelector?: Element | String, hydrating?: boolean): this;