Files
oh-my-pi/packages/coding-agent/src/bun-imports.d.ts
T
can1357 a42061d9ee feat(coding-agent): added self-update command with bundled templates
- Added `pi update` command for checking and installing CLI updates from GitHub releases or bun.
- Added cross-platform installer scripts (shell and PowerShell) with automatic PATH configuration.
- Changed HTML export to use compile-time bundled templates via Bun macros.
- Changed `exportToHtml` and `exportFromFile` functions to async operations.
2026-01-03 14:17:28 +01:00

17 lines
338 B
TypeScript

/**
* Type declarations for Bun's import attributes.
* These allow importing non-JS files as text at build time.
*/
// Markdown files imported as text
declare module "*.md" {
const content: string;
export default content;
}
// Text files imported as text
declare module "*.txt" {
const content: string;
export default content;
}