Skip to content

Invalid type error for protected constructor #63

Description

@jonaaix

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions