1.0.1 • Published 7 years ago

linq4ts v1.0.1

Weekly downloads
4
License
FSFUL
Repository
github
Last release
7 years ago

linq4ts

Modified from https://github.com/arogozine/LinqToTypeScript fixed bugs from max and min, as can't returns a proper value when collection has minus values. And downgraded to ES5 so it can run on older browsers, as for this, async linq is not supported.

install: npm i linq4ts

and add codes from start

import { initializeLinq, IEnumerable } from "../node_modules/linq4ts"

declare global { interface Array extends IEnumerable { concat(items: IEnumerable): IEnumerable; } interface Uint8Array extends IEnumerable { } interface Uint8ClampedArray extends IEnumerable { } interface Uint16Array extends IEnumerable { } interface Uint32Array extends IEnumerable { } interface Int8Array extends IEnumerable { } interface Int16Array extends IEnumerable { } interface Int32Array extends IEnumerable { } interface Float32Array extends IEnumerable { } interface Float64Array extends IEnumerable { } interface Map<K, V> extends IEnumerable<K, V> { } interface Set extends IEnumerable { } } initializeLinq();

1.0.1

7 years ago

1.0.0

7 years ago