kit
    Preparing search index...

    Type Alias GetShortcuts<TEndpoints>

    GetShortcuts: {
        [TEndpoint in Extract<keyof TEndpoints, string>]: GetDataType<
            TEndpoints,
            TEndpoint,
            "get",
            "ok",
        >
    }

    Type Parameters

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

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