kit
    Preparing search index...

    Type Alias PostShortcuts<TEndpoints>

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

    Type Parameters

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

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