Angular Inputs - Improved Error UX
Here's an elegant way to see whether your input is in focus or not and how you can use that in the HTML template to trigger styling or other changes.
Here's an elegant way to see whether your input is in focus or not and how you can use that in the HTML template to trigger styling or other changes.
We've used Typescript in a lot of projects and over time I've kept track of a few things I think are cool.
An alternative method to set up a config in NestJS which enables IDE auto-completion.
Create and package NestJS modules and push them to the npm registry. Now you can npm install them anywhere and start using them straight away!
Debugging a project that runs in a Docker container can be tough! This guide runs through debugging a Typescript project (Nestjs) using Webstorm and docker. Although the guide uses Nestjs as the framework and Webstorm as the IDE, it should work in general for any IDE and any Typescript project.