Skip to content

[Error] Type parameter of accessible thing exposes inaccessible type #86

Closed
@mhegazy

Description

@mhegazy

Affected Branch: Affected Build: Affected Product Language: Steps to reproduce:

class privateClass {

}

export interface publicInterfaceWithPrivateTypeParameters {

new <T extends privateClass>(): privateClass; 

}

Expected: TypeParameter 'T extends privateClass' of constructor signature from exported interface has or is using private type 'privateClass'.

Actual: nothing

2 general classes of errors that went missing:

TypeParameter '' of <call signature | construct signature | <public?> <static?> method> from exported <class | interface> has or is using private type ''

TypeParameter '' of exported <class | interface> has or is using private type ''

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