YuriGor / deepdash

eachDeep, filterDeep, findDeep, someDeep, omitDeep, pickDeep, keysDeep etc.. Tree traversal library written in Underscore/Lodash fashion
https://deepdash.io/
MIT License
274 stars 12 forks source link

Type expected #64

Closed barrct closed 4 years ago

barrct commented 4 years ago

[default] \node_modules\deepdash-es\filterDeep.d.ts:12:5 Type expected. [default] Checking finished with 1 errors

This seems to be related to the extra pipe before void ) => | void | boolean | { skipChildren: boolean; cloneDeep: boolean; keepIfEmpty: boolean; },

There are no errors when changed to ) => void | boolean | { skipChildren: boolean; cloneDeep: boolean; keepIfEmpty: boolean; },

YuriGor commented 4 years ago

Hi, thank you, will fix. And how did you find this? tslint? Did you lint your own code or deepdash directly?

YuriGor commented 4 years ago

fixed in v5.2.0

barrct commented 4 years ago

I'm sorry, we run a system based on a template from wrapbootstrap and were just testing on the server:dev and the error showed up.Seemed like a simple accidental copy/paste bug. Thank you for the quick update,  On Thursday, June 25, 2020, 02:05:07 AM EDT, Yuri Gor notifications@github.com wrote:

Hi, thank you, will fix. And how did you find this? tslint? Did you lint your own code or deepdash directly?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.