From a500ac226629bbb230c8e37b6ffda71ca8f7a048 Mon Sep 17 00:00:00 2001 From: Chris Bubernak Date: Fri, 3 Oct 2014 18:58:50 -0700 Subject: [PATCH] specific type for function param --- src/compiler/checker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 4ee96be9bd7..d0e28b356b5 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -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: