@koj/types
v2.10.0
Published
Koj's repository template with GitHub Actions CI, releases, and more
Downloads
97
Readme
🏷 @koj/types
This repository contains shared TypeScript interfaces for Koj projects.
| | Status | | - | - | | Build | | | Health | | | PRs | |
💻 Getting started
Install @koj/types
from npm:
npm install @koj/types
Then, use the types, for example for API responses:
import { Proposal } from "@koj/types";
const proposal: Proposal = await axios.get("/proposal");