You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Big idea: there are various places in ts-node where we can emit warnings and hints. We should have a generic mechanism to give them diagnostic codes and let users opt-in or opt-out either fully or per-code.
Extracted from #1248
Big idea: there are various places in ts-node where we can emit warnings and hints. We should have a generic mechanism to give them diagnostic codes and let users opt-in or opt-out either fully or per-code.
We discussed this on Discord: https://discord.com/channels/508357248330760243/508357707602853888/843546169752813589
Conclusions:
process.emitWarning()
warnings: boolean
to API surfacefalse
to disable themonWarning: callback
to API surfaceprocess.emitWarning
TSNODE<4-digit number>
DEP1234
; TypeScript usesTS1234
process.on('warning'
handlersQuestions
"warnings": false
, but a warning emits before tsconfig is loaded"target"
warning, we can do thisTS_NODE_DEBUG
orDEBUG
env varThe text was updated successfully, but these errors were encountered: