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[] }