UNPKG

@amirmarmul/waba-common

Version:

![GitHub release](https://img.shields.io/github/v/release/amirmarmul/waba-common?style=flat-square)

16 lines (15 loc) 607 B
import express from 'express'; import 'express-async-errors'; import { Controller } from '../../../core/infrastructure/Controller'; export declare class App { protected app: express.Application; protected controllers: any[]; constructor(controllers: any[], options?: any); start(): void; protected registerMiddleware(): void; protected registerControllers(controllers: any[]): void; protected resolve(klass: any): Controller; protected registerHealthHandlers(health: any): void; protected registerDetailControllers(): void; protected registerErrorHandlers(): void; }