File tree 2 files changed +11
-7
lines changed
2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 2
2
3
3
_ The ` --fix ` option on the command line automatically fixes problems reported by this rule._
4
4
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:
6
8
7
9
* [ 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/ )
10
12
* [ Tuple type] ( https://flow.org/en/docs/types/tuples/ )
11
13
* [ Union type] ( https://flow.org/en/docs/types/unions/ )
12
14
* [ Intersection type] ( https://flow.org/en/docs/types/intersections/ )
Original file line number Diff line number Diff line change 2
2
3
3
_ The ` --fix ` option on the command line automatically fixes problems reported by this rule._
4
4
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.
6
6
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/ )
9
11
* [ Mixed type] ( https://flow.org/en/docs/types/mixed/ )
10
12
* [ Any type] ( https://flow.org/en/docs/types/any/ )
11
- * Class type
13
+ * [ Class type] ( https://flow.org/en/docs/types/classes/ )
12
14
* [ Generic type] ( https://flow.org/en/docs/types/generics/ )
13
15
* Array type [ shorthand notation] ( https://flow.org/en/docs/types/arrays/#toc-array-type-shorthand-syntax )
14
16
You can’t perform that action at this time.
0 commit comments