Types
#
Resolvable<T>export type Resolvable<R> = R | PromiseLike<R>;
#
Resolver<T>export type Resolver<R> = (thenableOrResult?: Resolvable<R>) => void;
#
Rejectorexport type Rejector = (error?: any) => void;
#
ExpressiveTeaModuleClass<T>export type ExpressiveTeaModuleClass<T> = new (...args: any[]) => T;
#
ExpressMiddlewareHandlerexport type ExpressMiddlewareHandler = (request?: Request, response?: Response, next?: NextFunction) => void;
#
ExpressiveTeaMiddlewareexport type ExpressiveTeaMiddleware = (...args: unknown[]) => unknown | Promise<unknown>;
#
ClassDecoratorexport type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;
#
PropertyDecoratorexport type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;
#
MethodDecoratorexport type MethodDecorator = (target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor) => PropertyDescriptor | void;
#
ParameterDecoratorexport type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;