mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
specific type for function param
This commit is contained in:
parent
e6b5591ae9
commit
a500ac2266
@ -5100,7 +5100,7 @@ module ts {
|
||||
}
|
||||
|
||||
// if a user tries to apply an innappropriate operator to 2 boolean operands try and return them a helpful suggestion
|
||||
function getSuggestedBooleanOperator(operator: any): SyntaxKind {
|
||||
function getSuggestedBooleanOperator(operator: SyntaxKind): SyntaxKind {
|
||||
switch (operator) {
|
||||
case SyntaxKind.BarToken:
|
||||
case SyntaxKind.BarEqualsToken:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user