From 901568dd687fb7d11a2d07304c19a1a1e818fd7a Mon Sep 17 00:00:00 2001 From: FAKER-A <1037881273@qq.com> Date: Wed, 27 Jan 2021 19:04:23 +0800 Subject: [PATCH 1/2] docs: Undo the changes on git-book --- docs/api/README.md | 2 +- docs/fr/api/README.md | 2 +- docs/ja/api/README.md | 2 +- docs/ru/api/README.md | 2 +- docs/zh/api/README.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/api/README.md b/docs/api/README.md index 52a3b7fd6..f305a0232 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -289,7 +289,7 @@ Since it's just a component, it works with `` and ``. Wh Signature: - ``` + ```ts type PositionDescriptor = { x: number, y: number } | { selector: string } | diff --git a/docs/fr/api/README.md b/docs/fr/api/README.md index a259f9aec..e8278835b 100644 --- a/docs/fr/api/README.md +++ b/docs/fr/api/README.md @@ -221,7 +221,7 @@ Le composant `` est un composant fonctionnel qui fait le rendu du c Signature : - ``` + ```ts type PositionDescriptor = { x: number, y: number } | { selector: string } | diff --git a/docs/ja/api/README.md b/docs/ja/api/README.md index 9aca6a995..b22da6c76 100644 --- a/docs/ja/api/README.md +++ b/docs/ja/api/README.md @@ -268,7 +268,7 @@ name ではないプロパティも描画されるコンポーネントに渡さ シグネチャ: - ``` + ```ts type PositionDescriptor = { x: number, y: number } | { selector: string } | diff --git a/docs/ru/api/README.md b/docs/ru/api/README.md index 151f155a2..1aa58daee 100644 --- a/docs/ru/api/README.md +++ b/docs/ru/api/README.md @@ -268,7 +268,7 @@ sidebar: auto Сигнатура: - ``` + ```ts type PositionDescriptor = { x: number, y: number } | { selector: string } | diff --git a/docs/zh/api/README.md b/docs/zh/api/README.md index 561796df5..4e0975f98 100644 --- a/docs/zh/api/README.md +++ b/docs/zh/api/README.md @@ -270,7 +270,7 @@ sidebar: auto 签名: - ``` + ```ts type PositionDescriptor = { x: number, y: number } | { selector: string } | From e1abf64b51f6aac365c8a85d226c2264447a0531 Mon Sep 17 00:00:00 2001 From: FAKER-A <1037881273@qq.com> Date: Thu, 28 Jan 2021 17:11:53 +0800 Subject: [PATCH 2/2] docs: Replace ?{} with void --- docs/api/README.md | 2 +- docs/fr/api/README.md | 2 +- docs/ja/api/README.md | 2 +- docs/ru/api/README.md | 2 +- docs/zh/api/README.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/api/README.md b/docs/api/README.md index f305a0232..7de432ca1 100644 --- a/docs/api/README.md +++ b/docs/api/README.md @@ -293,7 +293,7 @@ Since it's just a component, it works with `` and ``. Wh type PositionDescriptor = { x: number, y: number } | { selector: string } | - ?{} + void type scrollBehaviorHandler = ( to: Route, diff --git a/docs/fr/api/README.md b/docs/fr/api/README.md index e8278835b..316a62af9 100644 --- a/docs/fr/api/README.md +++ b/docs/fr/api/README.md @@ -225,7 +225,7 @@ Le composant `` est un composant fonctionnel qui fait le rendu du c type PositionDescriptor = { x: number, y: number } | { selector: string } | - ?{} + void type scrollBehaviorHandler = ( to: Route, diff --git a/docs/ja/api/README.md b/docs/ja/api/README.md index b22da6c76..cbe66b6a3 100644 --- a/docs/ja/api/README.md +++ b/docs/ja/api/README.md @@ -272,7 +272,7 @@ name ではないプロパティも描画されるコンポーネントに渡さ type PositionDescriptor = { x: number, y: number } | { selector: string } | - ?{} + void type scrollBehaviorHandler = ( to: Route, diff --git a/docs/ru/api/README.md b/docs/ru/api/README.md index 1aa58daee..e0995ac51 100644 --- a/docs/ru/api/README.md +++ b/docs/ru/api/README.md @@ -272,7 +272,7 @@ sidebar: auto type PositionDescriptor = { x: number, y: number } | { selector: string } | - ?{} + void type scrollBehaviorHandler = ( to: Route, diff --git a/docs/zh/api/README.md b/docs/zh/api/README.md index 4e0975f98..1f032ee23 100644 --- a/docs/zh/api/README.md +++ b/docs/zh/api/README.md @@ -274,7 +274,7 @@ sidebar: auto type PositionDescriptor = { x: number, y: number } | { selector: string } | - ?{} + void type scrollBehaviorHandler = ( to: Route,