Download src/types/osc-progress.d.ts from shimen/shinclaw: direct link, hf CLI and curl.
- Browser
- Download file 489 Bytes
-
https://huggingface.co/spaces/shimen/shinclaw/resolve/main/src/types/osc-progress.d.ts
- Command line
-
hf download hf://spaces/shimen/shinclaw/src/types/osc-progress.d.ts
-
curl -L -o osc-progress.d.ts https://huggingface.co/spaces/shimen/shinclaw/resolve/main/src/types/osc-progress.d.ts
489 Bytes
| declare module "osc-progress" { | |
| export type OscProgressController = { | |
| setIndeterminate: (label: string) => void; | |
| setPercent: (label: string, percent: number) => void; | |
| clear: () => void; | |
| done?: () => void; | |
| }; | |
| export function createOscProgressController(params: { | |
| env: NodeJS.ProcessEnv; | |
| isTty: boolean; | |
| write: (chunk: string) => void; | |
| }): OscProgressController; | |
| export function supportsOscProgress(env: NodeJS.ProcessEnv, isTty: boolean): boolean; | |
| } | |