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.41k stars 225 forks source link

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

Closed weijialiu-hiretual closed 1 year 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 1 year ago

Outside the scope of this module