Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "server/index.d"

Index

Type aliases

HttpMethod

HttpMethod: "get" | "post" | "put" | "delete"

RouteCallback

RouteCallback: (req: IRequest, res: IResponse, next: (err?: Error, data?: { data?: any; layout?: typeof Layout; scripts?: Array<string>; styles?: Array<string>; title?: string }) => void) => void

Type declaration

    • (req: IRequest, res: IResponse, next: (err?: Error, data?: { data?: any; layout?: typeof Layout; scripts?: Array<string>; styles?: Array<string>; title?: string }) => void): void
    • Parameters

      • req: IRequest
      • res: IResponse
      • next: (err?: Error, data?: { data?: any; layout?: typeof Layout; scripts?: Array<string>; styles?: Array<string>; title?: string }) => void
          • (err?: Error, data?: { data?: any; layout?: typeof Layout; scripts?: Array<string>; styles?: Array<string>; title?: string }): void
          • Parameters

            • Optional err: Error
            • Optional data: { data?: any; layout?: typeof Layout; scripts?: Array<string>; styles?: Array<string>; title?: string }
              • Optional data?: any
              • Optional layout?: typeof Layout
              • Optional scripts?: Array<string>
              • Optional styles?: Array<string>
              • Optional title?: string

            Returns void

      Returns void

Generated using TypeDoc