UNPKG

nostalgist

Version:

Nostalgist.js is a JavaScript library that allows you to run emulators of retro consoles within web browsers.

13 lines (12 loc) 459 B
export interface RetroArchEmscriptenModule extends EmscriptenModule { asm: any; callMain: (args: string[]) => void; canvas: HTMLCanvasElement; ERRNO_CODES: any; FS: any; monitorRunDependencies: (left?: number) => Promise<void> | void; PATH: any; preRun: ((...args: any) => void)[]; setCanvasSize: (width: number, height: number) => void; } export type RetroArchEmscriptenModuleOptions = Partial<RetroArchEmscriptenModule>;