Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 65ddc1f

Browse filesBrowse files
committed
microsoft-typescript/type-operator-spacing
1 parent 012c76e commit 65ddc1f
Copy full SHA for 65ddc1f

2 files changed

+3-3Lines changed: 3 additions & 3 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.eslintrc‎

Copy file name to clipboardExpand all lines: .eslintrc
+1-1Lines 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",
Collapse file

‎src/lib/es2019.array.d.ts‎

Copy file name to clipboardExpand all lines: src/lib/es2019.array.d.ts
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.