Skip to content

Commit 1d664d7

Browse files
committed
docs: correct documentation
1 parent a916617 commit 1d664d7

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

Diff for: .README/rules/array-style-complex-type.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
_The `--fix` option on the command line automatically fixes problems reported by this rule._
44

5-
Enforces a particular style for array type annotations for complex types. Type is considered complex in these cases:
5+
Enforces a particular annotation style of complex types.
6+
7+
Type is considered complex in these cases:
68

79
* [Maybe type](https://flow.org/en/docs/types/maybe/)
8-
* Function type
9-
* Object type
10+
* [Function type](https://flow.org/en/docs/types/functions/)
11+
* [Object type](https://flow.org/en/docs/types/objects/)
1012
* [Tuple type](https://flow.org/en/docs/types/tuples/)
1113
* [Union type](https://flow.org/en/docs/types/unions/)
1214
* [Intersection type](https://flow.org/en/docs/types/intersections/)

Diff for: .README/rules/array-style-simple-type.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
_The `--fix` option on the command line automatically fixes problems reported by this rule._
44

5-
Enforces a particular style for array type annotations for complex types. Type is considered simple in these cases:
5+
Enforces a particular array type annotation style of simple types.
66

7-
* Primitive types
8-
* Literal types
7+
Type is considered simple in these cases:
8+
9+
* [Primitive types](https://flow.org/en/docs/types/primitives/)
10+
* [Literal types](https://flow.org/en/docs/types/literals/)
911
* [Mixed type](https://flow.org/en/docs/types/mixed/)
1012
* [Any type](https://flow.org/en/docs/types/any/)
11-
* Class type
13+
* [Class type](https://flow.org/en/docs/types/classes/)
1214
* [Generic type](https://flow.org/en/docs/types/generics/)
1315
* Array type [shorthand notation](https://flow.org/en/docs/types/arrays/#toc-array-type-shorthand-syntax)
1416

0 commit comments

Comments
 (0)