Skip to content

Commit 65ddc1f

Browse files
committed
microsoft-typescript/type-operator-spacing
1 parent 012c76e commit 65ddc1f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
"microsoft-typescript/object-literal-surrounding-space": "error",
5454
"microsoft-typescript/no-type-assertion-whitespace": "error",
55-
"microsoft-typescript/type-operator-spacing": "off",
55+
"microsoft-typescript/type-operator-spacing": "error",
5656
"microsoft-typescript/only-arrow-functions": "off",
5757
"microsoft-typescript/no-double-space": "off",
5858
"microsoft-typescript/boolean-trivia": "error",

src/lib/es2019.array.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface ReadonlyArray<T> {
1111
* thisArg is omitted, undefined is used as the this value.
1212
*/
1313
flatMap<U, This = undefined> (
14-
callback: (this: This, value: T, index: number, array: T[]) => U|ReadonlyArray<U>,
14+
callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,
1515
thisArg?: This
1616
): U[]
1717

@@ -125,7 +125,7 @@ interface Array<T> {
125125
* thisArg is omitted, undefined is used as the this value.
126126
*/
127127
flatMap<U, This = undefined> (
128-
callback: (this: This, value: T, index: number, array: T[]) => U|ReadonlyArray<U>,
128+
callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,
129129
thisArg?: This
130130
): U[]
131131

0 commit comments

Comments
 (0)