Skip to content

Commit 64cbc01

Browse files
authored
docs: Update link & fix prop name in typescript-support.md (#1030)
* Update typescript-support.md * Update typescript-support.md
1 parent f76da07 commit 64cbc01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/typescript-support.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const Component = defineComponent({
131131
})
132132
```
133133

134-
If you have a complex type or interface, you can cast it using [type assertion](https://www.typescriptlang.org/docs/handbook/basic-types.html#type-assertions):
134+
If you have a complex type or interface, you can cast it using [type assertion](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#type-assertions):
135135

136136
```ts
137137
interface Book {
@@ -261,7 +261,7 @@ const Component = defineComponent({
261261

262262
::: warning
263263
Because of a [design limitation](https://github.com/microsoft/TypeScript/issues/38845) in TypeScript when it comes
264-
to type inference of function expressions, you have to be careful with `validators` and `default` values for objects and arrays:
264+
to type inference of function expressions, you have to be careful with `validator` and `default` values for objects and arrays:
265265
:::
266266

267267
```ts

0 commit comments

Comments
 (0)