From c83eeaaac7cc2e1988ea663471e40e33dd22ef32 Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Sun, 29 Oct 2017 13:26:51 -0700 Subject: [PATCH] Added comment --- src/compiler/core.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/compiler/core.ts b/src/compiler/core.ts index e66a43e0aeb..0ccb7253331 100644 --- a/src/compiler/core.ts +++ b/src/compiler/core.ts @@ -1602,7 +1602,8 @@ namespace ts { } /** - * Compare two values for their order relative to each other. + * Compare two numeric values for their order relative to each other. + * To compare strings, use any of the `compareStrings` functions. */ export function compareValues(a: number, b: number) { return compareComparableValues(a, b);