Closed quldude closed 1 year ago
resolved this by adding DOM
in tsconfig.
This should not be closed. Node projects should not include the DOM
types. There is no window
, document
, etc. so you're opening up a whole class of runtime errors that should be compile errors. The twilio client should mimic the type and export it with the client.
👀 on https://github.com/twilio/twilio-node/pull/925 which should fix this ...
Fixed by #925
Issue Summary
Getting an error when building a nodejs app using twilio sdk.
Steps to Reproduce
tsc -p tsconfig.build.json
Exception/Log
Technical details: