Skip to content

Commit 11097c6

Browse files
greg-finleyorta
andauthored
Fix typo (microsoft#43404)
* Fix typo * Fix off baseline Co-authored-by: Orta <git@orta.io>
1 parent b1571fc commit 11097c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/lib/es5.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ interface ReadonlyArray<T> {
10731073
*/
10741074
toString(): string;
10751075
/**
1076-
* Returns a string representation of an array. The elements are converted to string using their toLocalString methods.
1076+
* Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.
10771077
*/
10781078
toLocaleString(): string;
10791079
/**
@@ -1207,7 +1207,7 @@ interface Array<T> {
12071207
*/
12081208
toString(): string;
12091209
/**
1210-
* Returns a string representation of an array. The elements are converted to string using their toLocalString methods.
1210+
* Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.
12111211
*/
12121212
toLocaleString(): string;
12131213
/**

tests/baselines/reference/completionEntryForUnionMethod.baseline

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
],
224224
"documentation": [
225225
{
226-
"text": "Returns a string representation of an array. The elements are converted to string using their toLocalString methods.",
226+
"text": "Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",
227227
"kind": "text"
228228
}
229229
]

0 commit comments

Comments
 (0)