Skip to content

Commit

Permalink
Fixed type in deprecation notes (#641)
Browse files Browse the repository at this point in the history
  • Loading branch information
noook committed Feb 3, 2021
1 parent eda6b22 commit 69ca912
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions src/component/componentOptions.ts
Expand Up @@ -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[] }

Expand Down

0 comments on commit 69ca912

Please sign in to comment.