Skip to content

Commit 38278ee

Browse files
committed
Fix typo
1 parent c9e2f95 commit 38278ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ namespace ts {
271271
return result;
272272
}
273273

274-
// Maps from T to T and avoids allocation of all elements map to themselves
274+
// Maps from T to T and avoids allocation if all elements map to themselves
275275
export function sameMap<T>(array: T[], f: (x: T, i: number) => T): T[] {
276276
let result: T[];
277277
if (array) {

0 commit comments

Comments
 (0)