Added use of types in node - issue#2149
Description
Added brief description and example on how to add node types when using node js with typeScript.
Related Issues
Fixes issue #2149
Codecov Report
Merging #2218 (0261a9f) into main (a398b5a) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## main #2218 +/- ##
=======================================
Coverage 91.29% 91.29%
=======================================
Files 84 84
Lines 919 919
Branches 251 251
=======================================
Hits 839 839
Misses 79 79
Partials 1 1
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update a398b5a...0261a9f. Read the comment docs.
I could be misunderstanding https://github.com/nodejs/nodejs.dev/issues/2149 but I think the suggestion there was to show how to install & type built-in node modules (e.g. https/stream) rather than a third party package such as Express
I could be misunderstanding #2149 but I think the suggestion there was to show how to install & type built-in node modules (e.g. https/stream) rather than a third party package such as Express
@mikeesto Thankyou for suggesting changes, that was really helpful , actually I wasn't sure when issue mentioned how to install Node Types so I added general example of third party package as express. I will try to improve the PR with requested changes
Please find a preview at: https://staging.nodejs.dev/2218/
Thankyou for assessment @santimirandarp :)
Please find a preview at: https://staging.nodejs.dev/2218/
This pull request is stale because it has been open for 30 days with no activity.
This pull request was closed because it has been inactive for 14 days since being marked as stale.