LINQjs in TypeScript... Look no further.

Aug 18, 2014 at 8:38 AM
Edited Aug 18, 2014 at 8:41 AM
Following the 3.0.4 beta direction:

The resultant JS:

For a quick look at what's included see the definition file:

I wanted the existing linq.d.ts file to be enough, but it didn't have generics.
This is effectively a fork of linqjs, but it was ported method by method and there are some key differences:
  • No string based lamdas since TypeScript has closures.
  • To support strong typing the signatures have been more explicit and no mixing of parameter structures.
  • Some selectors have been removed from certain functions to eliminate confusion.
I'm at about 95% parity right now with join and groupJoin not yet finished. Should be done this week.
I have spent a significant amount of time revising, improving, and optimizing the internals. Enjoy.