Favorite way of dealing with typescripts `!`-forbidden warnings
For example, I often do:
I know my code is wrapped in an
AuthContextProvider
, and I want it to crash/error out in case I ever miss the context provider.
How do you tell typescript-eslint to shut up about these cases?3 Replies