Skip to content

Typescript 2.1.4 Release And ReadonlyArray

Compare
Choose a tag to compare
@dibiancoj dibiancoj released this 09 Dec 02:32
· 8 commits to master since this release

This release was made to handle Typescript 2.1.4 and readonly arrays. Added an interface so you can use Linq4Javascript off of this array type in Typescript.

 var _array: ReadonlyArray<number> = Object.freeze([1,2,3,4]);

 var results = _array.Where(x => x == 2).ToArray();