From 078e49dd8bed70b2d02cd0f96b6f56f0d8503987 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Mon, 4 Aug 2014 18:29:58 -0700 Subject: [PATCH] Explicitly supply generic argument for 'compareValues'. --- src/compiler/tc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/tc.ts b/src/compiler/tc.ts index 614a20aa21..ee1089f7c6 100644 --- a/src/compiler/tc.ts +++ b/src/compiler/tc.ts @@ -375,7 +375,7 @@ module ts { // Sort our options by their names, (e.g. "--noImplicitAny" comes before "--watch") var optsList = optionDeclarations.slice(); - optsList.sort((a, b) => compareValues(a.name.toLowerCase(), b.name.toLowerCase())); + optsList.sort((a, b) => compareValues(a.name.toLowerCase(), b.name.toLowerCase())); // We want our descriptions to align at the same column in our output, // so we keep track of the longest option usage string.