flow: Update doc links (#1070)

Co-authored-by: Maxis Kao <maxis.kao@shopee.com>
This commit is contained in:
Maxis Kao 2020-08-03 20:21:29 +08:00 committed by GitHub
parent c051140380
commit 91e7bfe13b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

12
flow.md
View File

@ -198,7 +198,7 @@ type Items = {
``` ```
{: data-line="2"} {: data-line="2"}
See: [Dynamic object keys](https://flow.org/docs/objects.html#objects-as-maps) See: [Dynamic object keys](https://flow.org/en/docs/types/objects/#toc-objects-as-maps)
## Advanced features ## Advanced features
@ -239,7 +239,7 @@ const countries = {
type Country = $Keys<typeof countries> type Country = $Keys<typeof countries>
``` ```
See: [Enums](https://flow.org/docs/utility-types.html#keyst) See: [Enums](https://flow.org/en/docs/types/utilities/#toc-keys)
### Type aliases ### Type aliases
@ -255,7 +255,7 @@ type Generic<T> = {
} }
``` ```
See: [Type aliases](https://flow.org/docs/quick-reference.html#type-aliases) See: [Type aliases](https://flow.org/en/docs/types/aliases/)
### Generic classes ### Generic classes
@ -268,7 +268,7 @@ class GenericClass<T> {
var n: GenericClass<number> = new GenericClass(0) var n: GenericClass<number> = new GenericClass(0)
``` ```
See: [Generic classes](https://flow.org/docs/quick-reference.html#generics) See: [Generic classes](https://flow.org/en/docs/types/generics/#toc-classes-with-generics)
### Interfaces ### Interfaces
@ -284,7 +284,7 @@ class Foo {
(new Foo: Jsonable) (new Foo: Jsonable)
``` ```
See: [Interfaces](https://flow.org/docs/quick-reference.html#interfaces) See: [Interfaces](https://flow.org/en/docs/types/interfaces/)
### Functions ### Functions
@ -301,7 +301,7 @@ function filter<T> (
} }
``` ```
See: [Functions](https://flow.org/docs/functions.html) See: [Functions](https://flow.org/en/docs/types/functions/)
### Imports ### Imports