kit
    Preparing search index...

    Type Alias ResponseShortcuts<TEndpoints>

    ResponseShortcuts: {
        [TMethod in RequestMethod]: {
            [TEndpoint in Extract<keyof TEndpoints, string>]: GetDataType<
                TEndpoints,
                TEndpoint,
                TMethod,
                "ok",
            >
        }
    }

    Type Parameters

    // define the type on your `API` types:
    type Response = Api.Generate.ResponseShortcuts<Endpoints>;

    // consume the type wherever in your app:
    type MyData = API.Response["get"]["my/endpoint"];