Closed imcm7 closed 11 months ago
I'm also having the same problem. Any workaround ?
It seems that by default, typescript takes the web/serverless environment and not node. I don't know how to change that. But for information, if encryptAlgorithm is not set, the correct value will be set automatically depending on the runtime environment
In docs
encryptAlgorithm, aes-256-cbc by default node, AES-CBC serverless
. But type check warnType '"aes-256-cbc"' is not assignable to type '"AES-CBC"'.