Open utterances-bot opened 3 years ago
Great post! :-) You might also want to take a look at TSDoc and Rush Stack. :-)
(I work with the team that maintains these projects.)
You talk about fetch
, WebSocket
, Buffer
but don't mention the underrated EventSource.
Thanks for the post!
Your blog post lint script still uses tslint, whereas the repository correctly uses eslint.
Post:
"lint": "tslint -c tslint.json 'src/**/*.ts'",
Repository:
"lint": "eslint src/ --ext .js,.jsx,.ts,.tsx",
Thanks, fixed the linting, updated to the same as in the repo (using eslint
)
Very thorough and practical . Can I translate this article to Chinese? Thanks.
Feel free to translate! And please post a link.
v1.9.2 " It’s still somewhat new and experimental though."
This is what is wrong with the coders of the internet today.
Could you elaborate on how to set up Jest to work with esbuild? I've been having some trouble with that.
Starting a TypeScript Project in 2021 · Chris Hager
This is a guide for starting a TypeScript project in 2021 with modern tooling.
TypeScript 4 Optionally esbuild to bundle for browsers (and Node.js) Linting with typescript-eslint (tslint is deprecated) Testing with Jest (and ts-jest) Publishing a package to npm Continuous integration (GitHub Actions / GitLab CI) Automatic API documentation with TypeDoc
https://www.metachris.com/2021/04/starting-a-typescript-project-in-2021/