Skip to content

Commit 69ca912

Browse files
authored
Fixed type in deprecation notes (#641)
1 parent eda6b22 commit 69ca912

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ Great thanks to @pikax for #311, making most of the APIs better aligned with the
507507
# 0.3.0
508508

509509
- Improve TypeScript type definitions.
510-
- Fix `context.slots` not being avaliable before render [#84](https://github.com/vuejs/composition-api/issues/84).
510+
- Fix `context.slots` not being available before render [#84](https://github.com/vuejs/composition-api/issues/84).
511511

512512
## Changed
513513

src/component/componentOptions.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ export interface SetupContext {
88
readonly slots: Readonly<{ [key in string]?: (...args: any[]) => VNode[] }>
99

1010
/**
11-
* @deprecated not avaliable in Vue 3
11+
* @deprecated not available in Vue 3
1212
*/
1313
readonly parent: ComponentInstance | null
1414

1515
/**
16-
* @deprecated not avaliable in Vue 3
16+
* @deprecated not available in Vue 3
1717
*/
1818
readonly root: ComponentInstance
1919

2020
/**
21-
* @deprecated not avaliable in Vue 3
21+
* @deprecated not available in Vue 3
2222
*/
2323
readonly listeners: { [key in string]?: Function }
2424

2525
/**
26-
* @deprecated not avaliable in Vue 3
26+
* @deprecated not available in Vue 3
2727
*/
2828
readonly refs: { [key: string]: Vue | Element | Vue[] | Element[] }
2929

0 commit comments

Comments
 (0)