fix linting and types related issues (#731)

This commit is contained in:
Madhur Tandon
2022-08-27 02:18:01 +05:30
committed by GitHub
parent db806a5df9
commit 531ee928b0
3 changed files with 17 additions and 12 deletions

View File

@@ -14,11 +14,17 @@ import type { PyScript } from './components/pyscript';
export type RuntimeInterpreter = PyodideInterface | null;
export type RuntimeConfig = {
src: string;
name?: string;
lang?: string;
};
export type AppConfig = {
autoclose_loader: boolean;
name?: string;
version?: string;
runtimes?: Array<Runtime>;
runtimes?: Array<RuntimeConfig>;
};
let loader: PyLoader | undefined;