9 lines
159 B
TypeScript
9 lines
159 B
TypeScript
|
import { RequestHandler } from 'express'
|
||
|
|
||
|
export type Port = number | string | boolean
|
||
|
|
||
|
export interface ApiHandler {
|
||
|
path: string
|
||
|
handler: RequestHandler
|
||
|
}
|