mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 01:49:57 -05:00
Eased up on some of the more aggressive reporting changes
This commit is contained in:
@@ -175,7 +175,7 @@ bar();`
|
||||
file,
|
||||
syntax: [],
|
||||
semantic: [
|
||||
createDiagnostic(locationOfY.start, locationOfY.end, Diagnostics.Type_0_is_not_assignable_to_type_1, ["number", "string"]),
|
||||
createDiagnostic(locationOfY.start, locationOfY.end, Diagnostics.Type_0_is_not_assignable_to_type_1, ["10", "string"]),
|
||||
],
|
||||
suggestion: []
|
||||
},
|
||||
|
||||
@@ -166,7 +166,7 @@ fnErr();
|
||||
{ line: 6, offset: 12 },
|
||||
{ line: 6, offset: 13 },
|
||||
Diagnostics.Type_0_is_not_assignable_to_type_1,
|
||||
["number", "string"],
|
||||
["10", "string"],
|
||||
"error",
|
||||
)
|
||||
],
|
||||
@@ -235,7 +235,7 @@ fnErr();
|
||||
{ line: 6, offset: 5 },
|
||||
{ line: 6, offset: 6 },
|
||||
Diagnostics.Type_0_is_not_assignable_to_type_1,
|
||||
["number", "string"],
|
||||
["10", "string"],
|
||||
"error",
|
||||
)
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user