Sha256: 1ab1d95eb0117e19942f657b23a933521fbf75c120a7bdc1d1031ed51e3f1ad8
Contents?: true
Size: 438 Bytes
Versions: 26
Compression:
Stored size: 438 Bytes
Contents
{"version":3,"sources":["../../../../src/core/utils/internal/toReadonlyArray.ts"],"sourcesContent":["/**\n * Creates an immutable copy of the given array.\n */\nexport function toReadonlyArray<T>(source: Array<T>): ReadonlyArray<T> {\n const clone = [...source] as Array<T>\n Object.freeze(clone)\n return clone\n}\n"],"mappings":"AAGO,SAAS,gBAAmB,QAAoC;AACrE,QAAM,QAAQ,CAAC,GAAG,MAAM;AACxB,SAAO,OAAO,KAAK;AACnB,SAAO;AACT;","names":[]}
Version data entries
26 entries across 26 versions & 1 rubygems