ng-in-viewport icon indicating copy to clipboard operation
ng-in-viewport copied to clipboard

Downlevel generated .d.ts files to support angular versions >= v5

Open k3nsei opened this issue 4 years ago • 2 comments

Files generated by TypeScript compiler v4 cannot be consumed by older versions of TypeScript. To support older versions of angular we need to downlevel .d.ts files. Ideally support for TS 2.9.0

k3nsei avatar Sep 28 '20 11:09 k3nsei

Not sure if its possible... I may suggest to specify somewhere in Readme which version of package supports which angular.

Something like:

ng-in-viewport Angular
5.x.x 5.x
6.3 10+

basters avatar Sep 28 '20 17:09 basters

There is this package https://github.com/sandersn/downlevel-dts that will help covering Angular v7+ But for supporting Angular v5 and v6 I must sadly agree that separate branch needs to be created.

So there is branch 6.1.x for Angular v5 and v6. For other we can try to downlever typings.

k3nsei avatar Sep 28 '20 17:09 k3nsei

Invalid as angular world moved forward

k3nsei avatar Jan 29 '23 01:01 k3nsei