Hi , it supported in TypeScript by the latest versions of @types/node. However I haven't try in Typescript yet. Maybe you can double check on the @types/node version you are using. You may refer the Github issue here
@types/node
Cool. I just tried it wih @types/node v16.11.20 and can confirm it works! I suggest adding it to your article. Thanks for showing me this! :)
Great👏🎉. Thank you for the verify too. I already added into the article. 😊
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi , it supported in TypeScript by the latest versions of
@types/node
. However I haven't try in Typescript yet. Maybe you can double check on the@types/node
version you are using. You may refer the Github issue hereCool. I just tried it wih
@types/node
v16.11.20 and can confirm it works! I suggest adding it to your article. Thanks for showing me this! :)Great👏🎉. Thank you for the verify too. I already added into the article. 😊