helix.ts is designed for consuming public-facing types exposed by services written with helix.go.
import axios from "axios";
import type { Event } from "@mountayaapp/helix/event";
import type { Response } from "@mountayaapp/helix/integration/rest";
type Metadata = {
event: Event;
};
type Data = {
// ...
};
await axios.get<Response<Metadata, Data>>("/anything");Repository licensed under the MIT License.