neww / globals.d.ts
admin08077's picture
Upload 16 files
6899f04 verified
raw
history blame contribute delete
629 Bytes
// 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 {};