Skip to content

@scope doesn't affect abstract class #15

@Granshmeyr

Description

@Granshmeyr

Given this code:

/** @scope . */
export abstract class RottenApple {
  public abstract foobar: string;
}

/** @scope . */
export class SadBanana {
  public foobar = "foobar";
}

/** @scope * */
export class CleanOrange {
  public foobar = "foobar";
}

RottenApple is auto-completed and importable from outside the defined scope. SadBanana is not importable. CleanOrange is importable.

The following code change results in RottenApple becoming not importable (desired behavior):

/** @scope . */
export { RottenApple };

abstract class RottenApple {
  public abstract foobar: string;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions