From 11097c622cc53df73fea6cfb5076bd946148d9cf Mon Sep 17 00:00:00 2001 From: Greg Finley Date: Mon, 29 Mar 2021 04:14:44 -0700 Subject: [PATCH] Fix typo (#43404) * Fix typo * Fix off baseline Co-authored-by: Orta --- src/lib/es5.d.ts | 4 ++-- .../reference/completionEntryForUnionMethod.baseline | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index b8ae7ca57ef..bfa5241a84d 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -1073,7 +1073,7 @@ interface ReadonlyArray { */ toString(): string; /** - * Returns a string representation of an array. The elements are converted to string using their toLocalString methods. + * Returns a string representation of an array. The elements are converted to string using their toLocaleString methods. */ toLocaleString(): string; /** @@ -1207,7 +1207,7 @@ interface Array { */ toString(): string; /** - * Returns a string representation of an array. The elements are converted to string using their toLocalString methods. + * Returns a string representation of an array. The elements are converted to string using their toLocaleString methods. */ toLocaleString(): string; /** diff --git a/tests/baselines/reference/completionEntryForUnionMethod.baseline b/tests/baselines/reference/completionEntryForUnionMethod.baseline index ce000ec6ddb..858d356be23 100644 --- a/tests/baselines/reference/completionEntryForUnionMethod.baseline +++ b/tests/baselines/reference/completionEntryForUnionMethod.baseline @@ -223,7 +223,7 @@ ], "documentation": [ { - "text": "Returns a string representation of an array. The elements are converted to string using their toLocalString methods.", + "text": "Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.", "kind": "text" } ]