Closed jantimon closed 5 years ago
@AdnanDervisevic fixed this in #9
Enjoy @jantimon!
WOW That was quick! 👍
just tried and it works as expected:
declare module Api {
// models/demo.cs
export interface IPhoneNumber {
Label: string;
Number: string;
MyProperty: number;
}
// models/demo.cs
export interface IPoint {
x: number;
y: number;
}
// models/demo.cs
export interface X {
test: IPhoneNumber;
test2: IPoint;
}
}
You're welcome
Hey,
I just came to your project from https://stackoverflow.com/questions/54253927/convert-c-sharp-classes-and-interfaces-to-typescript and tried the following:
models/demo.cs
Output:
As you can see
IPoint
andIPhoneNumber
are not exported.Is there any way to achieve that?