Spaces:
Configuration error
Configuration error
File size: 629 Bytes
01ae808 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
// globals.d.ts
declare global {
/**
* Loads the Pyodide WebAssembly module.
* @param config Optional configuration for Pyodide.
*/
function loadPyodide(config?: { indexURL?: string }): Promise<any>;
interface Window {
google?: {
accounts: {
id: {
initialize: (config: { client_id: string; callback: (response: any) => void; }) => void;
renderButton: (parent: HTMLElement, options: any) => void;
disableAutoSelect: () => void;
prompt: () => void;
};
};
};
}
}
// This export statement is required to make the file a module.
export {}; |