scottie1984 / swagger-ui-express

Adds middleware to your express app to serve the Swagger UI bound to your Swagger document. This acts as living documentation for your API hosted from within your app.
MIT License
1.43k stars 228 forks source link

How should I write when one interface extends another interface? #306

Closed weijialiu-hiretual closed 2 years ago

weijialiu-hiretual commented 2 years ago
export interface AAA extends BBB {
  aaa_1?: string;
}

export interface BBB {
  bbb_1?: number;
  bbb_2?: string;
}

How should I write when one interface extends another interface?

scottie1984 commented 2 years ago

Outside the scope of this module