node-webserver
    Preparing search index...

    Type Alias RouteHandler<Path, Locals>

    RouteHandler: (
        event: RequestEvent<
            ExtractPathParams<Path> & RequestEvent["params"],
            Path,
            Locals,
        >,
    ) => MaybePromise<Response>

    Type Parameters

    • Path extends string
    • Locals extends App.Locals = App.Locals

    Type Declaration