Spaces:
Sleeping
Sleeping
Download src/app.d.ts from veltrixcode/lofi: direct link, hf CLI and curl.
- Browser
- Download file 766 Bytes
-
https://huggingface.co/spaces/veltrixcode/lofi/resolve/main/src/app.d.ts
- Command line
-
hf download hf://spaces/veltrixcode/lofi/src/app.d.ts
-
curl -L -o app.d.ts https://huggingface.co/spaces/veltrixcode/lofi/resolve/main/src/app.d.ts
766 Bytes
| // See https://svelte.dev/docs/kit/types#app.d.ts | |
| // for information about these interfaces | |
| declare global { | |
| namespace App { | |
| // interface Error {} | |
| // interface Locals {} | |
| // interface PageData {} | |
| // interface PageState {} | |
| // interface Platform {} | |
| } | |
| } | |
| declare module 'shaka-player/dist/shaka-player.compiled.js' { | |
| const shaka: { | |
| Player: new (mediaElement: HTMLMediaElement) => { | |
| load(uri: string): Promise<void>; | |
| unload(): Promise<void>; | |
| destroy(): Promise<void>; | |
| getNetworkingEngine?: () => { | |
| registerRequestFilter: ( | |
| callback: (type: unknown, request: { method: string; uris: string[] }) => void | |
| ) => void; | |
| }; | |
| }; | |
| polyfill?: { | |
| installAll?: () => void; | |
| }; | |
| }; | |
| export default shaka; | |
| } | |
| export {}; | |