Skip to content

Enable default options for TypeScript 6 #1278

Description

@datho7561

When migrating to TypeScript 6, Remco needed to configure a bunch of different TypeScript compiler options to disable new compiler errors in order get the code compiling.

It would be nice to enable these compiler errors (by removing the code explicitly disabling them) and address the root cause (for the most part adding more type checking or type information).

There's five such options:

  • "useUnknownInCatchVariables"
  • "strictNullChecks"
  • "strictFunctionTypes"
  • "noImplicitAny" (maybe, I know this one can be a lot of work from experience)
  • "noImplicitThis"

I think we can implement each option across a different PR to make it easier to review.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions