Re: Implicit casts for typedefs

2019-06-24 Thread Greg Dove
Hi Harbs, I am keen to help find an easier solution. @royalesuppresscompleximplicitcoercion crypto.createDecipher or for non-specific suppression, simply: @royalesuppresscompleximplicitcoercion true or even @royalesuppresscompleximplicitcoercion (which defaults to 'true') is another option,

Implicit casts for typedefs

2019-06-24 Thread Harbs
I have the following code in an app which uses Node.js: var cr:* = require('crypto'); var decipher:Decipher = cr.createDecipher('aes-256-ctr',KEY); (The reason cr is untyped is because crypto.createDecipher is not recognized in the typedefs.) This used to work fine, but it currently gets