a8m / ng-pipes

Bunch of useful pipes for Angular2 (with no external dependencies!)
https://a8m.github.io/ng-pipes/
MIT License
118 stars 24 forks source link

cannot find ceil and floor pipe #15

Closed tushar-1health closed 6 years ago

tushar-1health commented 7 years ago

Hello,

I tried using ceil pipe. I believe you haven't released the latest release on npm.

a8m commented 7 years ago

hi @tushar-1health I planned to publish a new version today. new version published.

feel free to open if you still have an issue with that. thanks

tushar-1health commented 7 years ago

@a8m

Found peer TypeScript 2.0.10
node_modules/ng-pipes/src/collection/reverse.pipe.ts(8,20): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'.

node_modules/ng-pipes/src/utils/utils.ts(39,13): error TS2339: Property 'repeat' does not exist on type 'string'. 
SteveVanOpstal commented 7 years ago

ng-pipes depends on TypeScript 2.1.4 or higher. Updating TypeScript might do the trick

tushar-1health commented 7 years ago

@SteveVanOpstal

Found peer TypeScript 2.1.6
node_modules/ng-pipes/src/collection/reverse.pipe.ts(8,20): error TS2339: Property 'from' does not exist on type 'ArrayConstructor'.

node_modules/ng-pipes/src/utils/utils.ts(39,13): error TS2339: Property 'repeat' does not exist on type 'string'.
SteveVanOpstal commented 7 years ago

@tushar-1health The project where you use ng-pipes, is it open source project? If so can you send me a link to it?

tushar-1health commented 7 years ago

@SteveVanOpstal Nop. Its a closed source. But I can help you debug this. Do let me know.

SteveVanOpstal commented 7 years ago

Angular (and therefore ng-pipes) relies on core-js to provide ES5 polyfills. Is it possible that you didn't add a core-js type definition (@types/core-js)?