mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-21 03:05:38 -05:00
fix linting and types related issues (#731)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user