mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 20:51:43 -06:00
Fix typo
This commit is contained in:
parent
c9e2f95918
commit
38278ee078
@ -271,7 +271,7 @@ namespace ts {
|
||||
return result;
|
||||
}
|
||||
|
||||
// Maps from T to T and avoids allocation of all elements map to themselves
|
||||
// Maps from T to T and avoids allocation if all elements map to themselves
|
||||
export function sameMap<T>(array: T[], f: (x: T, i: number) => T): T[] {
|
||||
let result: T[];
|
||||
if (array) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user