Skip to content

Conversation

@sporto
Copy link
Contributor

@sporto sporto commented Nov 14, 2024

Types of changes

We want to have these two typescript checks on:

  • noPropertyAccessFromIndexSignature
  • noUncheckedIndexedAccess

But our project won't typecheck because of errors in universal routes.
Apparently it is not possible to ignore these errors using exclude or ignoreLibChecks.
See microsoft/TypeScript#44205 (comment)

  • [x ] Bug fix (non-breaking change which fixes an issue)

This fixes the errors here.

Checklist:

  • [ x] My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • [x ] I have added tests to cover my changes.
  • [x ] All new and existing tests passed.

@sporto sporto marked this pull request as ready for review November 14, 2024 01:43
Copy link
Member

@frenzzy frenzzy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@frenzzy frenzzy merged commit 5246348 into kriasoft:main Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants