mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-22 19:53:00 -05:00
Specify the type of store value (#643)
This commit is contained in:
@@ -11,7 +11,7 @@ export type Environment = {
|
||||
state: string;
|
||||
};
|
||||
|
||||
export const pyodideLoaded = writable();
|
||||
export const pyodideLoaded = writable<PyodideInterface>();
|
||||
|
||||
export const loadedEnvironments = writable<Record<Environment['id'], Environment>>({});
|
||||
export const DEFAULT_MODE = 'play';
|
||||
|
||||
Reference in New Issue
Block a user