Skip to content

Conversation

@devinivy
Copy link
Member

@devinivy devinivy commented May 1, 2021

Adding some typescript diagnostic error codes to check for use of private/protected class constructors in expect.error(). This resolves #1006, and affects hapijs/mimos#37.

@devinivy devinivy added the bug Bug or defect label May 1, 2021
@devinivy devinivy added this to the 24.2.1 milestone May 1, 2021
@devinivy devinivy self-assigned this May 5, 2021
@devinivy devinivy merged commit ab2b194 into master May 5, 2021
@devinivy devinivy deleted the private-class-type-error branch May 5, 2021 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Bug or defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect type error detection

3 participants