UNPKG

tedi

Version:

Express wrappper written in typescript with dependency injection capabilities

34 lines (33 loc) 719 B
import * as BluebirdPromise from "bluebird"; export declare const Promise: typeof BluebirdPromise; export declare function getClassName(target: any): string; export declare function getTokenName(token: any): string; export interface Constructor<T> { new (...args: any[]): T; } export interface HttpMethods<T> { checkout: T; copy: T; delete: T; get: T; head: T; lock: T; merge: T; mkactivity: T; mkcol: T; move: T; mSearch: T; notify: T; options: T; patch: T; post: T; purge: T; put: T; report: T; search: T; subscribe: T; trace: T; unlock: T; unsubscribe: T; } export declare const HTTP_METHODS_NAMES: HttpMethods<string>;