Spaces:
Sleeping
Sleeping
File size: 766 Bytes
3c56493 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | // 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 {};
|