mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Test cases for arrow function expression
This commit is contained in:
@@ -17,7 +17,7 @@ function verifyInstance(instanceName: string, paramCount: number, type: string)
|
||||
if (i) {
|
||||
displayParts.push({ text: ",", kind: "punctuation" }, { text: " ", kind: "space" });
|
||||
}
|
||||
displayParts.push({ text: i ? "a" : "b", kind: "parameterName" }, { text: ":", kind: "punctuation" },
|
||||
displayParts.push({ text: !i ? "a" : "b", kind: "parameterName" }, { text: ":", kind: "punctuation" },
|
||||
{ text: " ", kind: "space" }, { text: type, kind: "keyword" });
|
||||
}
|
||||
displayParts.push({ text: ")", kind: "punctuation" }, { text: " ", kind: "space" },
|
||||
|
||||
Reference in New Issue
Block a user