Use a more precise type (#976)

This commit is contained in:
woxtu
2022-11-24 04:16:26 +09:00
committed by GitHub
parent 6586e79d5e
commit 061d4b3f72

View File

@@ -58,7 +58,7 @@ More concretely:
export class PyScriptApp {
config: AppConfig;
runtime: Runtime;
PyScript: any; // XXX would be nice to have a more precise type for the class itself
PyScript: ReturnType<typeof make_PyScript>;
plugins: PluginManager;
_stdioMultiplexer: StdioMultiplexer;