Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid type error for protected constructor #63

Open
btxtiger opened this issue Aug 27, 2023 · 0 comments
Open

Invalid type error for protected constructor #63

btxtiger opened this issue Aug 27, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@btxtiger
Copy link

btxtiger commented Aug 27, 2023

If I create an abstract class, with an explicitly protected constructor, I'm getting a type error, though a protected constructor is the default for abstract classes (afaik)

export abstract class UrlFilterHandler {
   protected constructor() {
      // this.init();
   }
}

image

@tannerntannern tannerntannern added the help wanted Extra attention is needed label Sep 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants