Download src/types.d.ts from bolikoto/zcode-api: direct link, hf CLI and curl.
- Browser
- Download file 622 Bytes
-
https://huggingface.co/spaces/bolikoto/zcode-api/resolve/main/src/types.d.ts
- Command line
-
hf download hf://spaces/bolikoto/zcode-api/src/types.d.ts
-
curl -L -o types.d.ts https://huggingface.co/spaces/bolikoto/zcode-api/resolve/main/src/types.d.ts
622 Bytes
| /** | |
| * Ambient module declarations for non-TS assets imported as text. | |
| * | |
| * Bun loads `.txt` with its `text` loader: a plain string at runtime, and | |
| * embedded as a string constant under `bun build --compile`, so the web UI | |
| * ships inside the single-file executable. (`*.html` is avoided because Bun's | |
| * built-in html loader returns an opaque HTMLBundle rather than raw text.) | |
| * | |
| * `@types/bun` already declares `*.txt` as a string default export; this file | |
| * documents the intent and keeps type-checking stable if that ever changes. | |
| */ | |
| declare module "*.txt" { | |
| const content: string; | |
| export default content; | |
| } | |