Now we've got an aligned TSconfig file, we'd like to move towards strict: true.
A first step could be to add in the missing recommended complierOptions:
exactOptionalPropertyTypes | | Stricter rules around how it handles properties on type or interfaces which have a ? prefix.
noImplicitAny | | TypeScript will issue an error whenever it would have inferred any.
useUnknownInCatchVariables | | For errors to be typed unknown as we don't know 100% it'll be an error type
Now we've got an aligned TSconfig file, we'd like to move towards
strict: true
. A first step could be to add in the missing recommended complierOptions:exactOptionalPropertyTypes | | Stricter rules around how it handles properties on type or interfaces which have a ? prefix. noImplicitAny | | TypeScript will issue an error whenever it would have inferred any. useUnknownInCatchVariables | | For errors to be typed unknown as we don't know 100% it'll be an error type