The below code pattern using the declare syntax appears to result in members incorrectly being emitted from the produced declarations.
Example code:
declare class Container {
Data: any;
}
declare class GenericClass {
public getContainer(): Container;
}
export default GenericClass;
Expected:
declare class Container {
Data: any;
}
declare class GenericClass {
getContainer(): Container;
}
export default GenericClass;
Actual
The below code pattern using the
declaresyntax appears to result in members incorrectly being emitted from the produced declarations.Example code:
Expected:
Actual