Avoid inferable type annotations

Do not declare a type annotation that TypeScript can infer from the value.

Was this page helpful?