File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ interface RouteOpts {
8888 middleware ?: HttpMiddleware [ ] | HttpMiddleware ;
8989}
9090
91- class Route < SecurityDefs extends string > {
91+ export class Route < SecurityDefs extends string > {
9292 public readonly api : Api < SecurityDefs > ;
9393 public readonly path : string ;
9494 public readonly middleware : HttpMiddleware [ ] ;
@@ -237,7 +237,7 @@ interface ApiDetails {
237237 *
238238 * Represents an HTTP API, capable of routing and securing incoming HTTP requests to handlers.
239239 */
240- class Api < SecurityDefs extends string > extends Base < ApiDetails > {
240+ export class Api < SecurityDefs extends string > extends Base < ApiDetails > {
241241 // public readonly name: string;
242242 public readonly path : string ;
243243 public readonly middleware ?: HttpMiddleware [ ] ;
You can’t perform that action at this time.
0 commit comments