@runebolt/types
v0.1.1
Published
RuneBolt TypeScript type definitions
Downloads
6
Readme
@runebolt/types
TypeScript type definitions for RuneBolt framework.
Installation
# npm
npm install @runebolt/types
# yarn
yarn add @runebolt/types
# pnpm
pnpm add @runebolt/typesUsage
import type { ApiRoute, ServerConfig } from '@runebolt/types';
const route: ApiRoute = {
method: 'GET',
path: '/api/health',
handler: (req, res) => res.json({ status: 'ok' })
};