Skip to content

Commit 2e4508a

Browse files
authored
docs: add type to the code of some md files (#3460)
1 parent 7fefb81 commit 2e4508a

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

docs/api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,11 +289,11 @@ Since it's just a component, it works with `<transition>` and `<keep-alive>`. Wh
289289

290290
Signature:
291291

292-
```
292+
```ts
293293
type PositionDescriptor =
294294
{ x: number, y: number } |
295295
{ selector: string } |
296-
?{}
296+
void
297297

298298
type scrollBehaviorHandler = (
299299
to: Route,

docs/fr/api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,11 @@ Le composant `<router-view>` est un composant fonctionnel qui fait le rendu du c
221221

222222
Signature :
223223

224-
```
224+
```ts
225225
type PositionDescriptor =
226226
{ x: number, y: number } |
227227
{ selector: string } |
228-
?{}
228+
void
229229

230230
type scrollBehaviorHandler = (
231231
to: Route,

docs/ja/api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,11 @@ name ではないプロパティも描画されるコンポーネントに渡さ
268268

269269
シグネチャ:
270270

271-
```
271+
```ts
272272
type PositionDescriptor =
273273
{ x: number, y: number } |
274274
{ selector: string } |
275-
?{}
275+
void
276276

277277
type scrollBehaviorHandler = (
278278
to: Route,

docs/ru/api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,11 @@ sidebar: auto
268268

269269
Сигнатура:
270270

271-
```
271+
```ts
272272
type PositionDescriptor =
273273
{ x: number, y: number } |
274274
{ selector: string } |
275-
?{}
275+
void
276276

277277
type scrollBehaviorHandler = (
278278
to: Route,

docs/zh/api/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,11 @@ sidebar: auto
270270

271271
签名:
272272

273-
```
273+
```ts
274274
type PositionDescriptor =
275275
{ x: number, y: number } |
276276
{ selector: string } |
277-
?{}
277+
void
278278

279279
type scrollBehaviorHandler = (
280280
to: Route,

0 commit comments

Comments
 (0)