Skip to content

[Errors] exported var of private type #69

@mhegazy

Description

@mhegazy
module m1 {
    export var x: C1;
    class C1 { }
}

Expected: Exported variable 'v2' has or is using private type 'C1'.
Actual: no error

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions