Ynot Dev

Advanced Typescript Types

Variance annotations https://www.typescriptlang.org/docs/handbook/2/generics.html#variance-annotations

Git Tips and Tricks

Commit fixups

If you want to make change to previous commit, we can do it by interactive rebase(git rebase --interactive). But if we do it that way, you have to push an entirely new set of commits and if you have already submitted the changes for review, it will be hard on reviewers since they have to review the whole set again.

Typescript Configuration

There are a lot of options to tweak typescript behavior.
These are the options that I have found very useful.