qiwi / libdefkit

Utility to produce single file TS and Flow libdefs
MIT License
1 stars 0 forks source link

Fails on TS 4.5.3 #31

Closed antongolub closed 2 years ago

antongolub commented 2 years ago

https://github.com/joarwilk/flowgen/issues/155

node_modules/flowgen/lib/printers/node.js:128
        const decl = leftMostSymbol && leftMostSymbol.declarations.length ? leftMostSymbol.declarations[0] : {};
                                                                   ^

TypeError: Cannot read property 'length' of undefined
antongolub commented 2 years ago

Seems ok on 4.5.5