From 69ca912903b2e49f0c480c8ad15f57eb0e515422 Mon Sep 17 00:00:00 2001 From: Neil Richter Date: Wed, 3 Feb 2021 17:55:14 +0100 Subject: [PATCH] Fixed type in deprecation notes (#641) --- CHANGELOG.md | 2 +- src/component/componentOptions.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 388e0013..bbc49bef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -507,7 +507,7 @@ Great thanks to @pikax for #311, making most of the APIs better aligned with the # 0.3.0 - Improve TypeScript type definitions. -- Fix `context.slots` not being avaliable before render [#84](https://github.com/vuejs/composition-api/issues/84). +- Fix `context.slots` not being available before render [#84](https://github.com/vuejs/composition-api/issues/84). ## Changed diff --git a/src/component/componentOptions.ts b/src/component/componentOptions.ts index a55a950c..9a177382 100644 --- a/src/component/componentOptions.ts +++ b/src/component/componentOptions.ts @@ -8,22 +8,22 @@ export interface SetupContext { readonly slots: Readonly<{ [key in string]?: (...args: any[]) => VNode[] }> /** - * @deprecated not avaliable in Vue 3 + * @deprecated not available in Vue 3 */ readonly parent: ComponentInstance | null /** - * @deprecated not avaliable in Vue 3 + * @deprecated not available in Vue 3 */ readonly root: ComponentInstance /** - * @deprecated not avaliable in Vue 3 + * @deprecated not available in Vue 3 */ readonly listeners: { [key in string]?: Function } /** - * @deprecated not avaliable in Vue 3 + * @deprecated not available in Vue 3 */ readonly refs: { [key: string]: Vue | Element | Vue[] | Element[] }