mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-13 14:09:06 -05:00
specific type for function param
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user