Add type annotations (#488)

This commit is contained in:
woxtu
2022-06-21 01:22:03 +09:00
committed by GitHub
parent d5d855e4c3
commit 6822105c70
3 changed files with 12 additions and 9 deletions

View File

@@ -31,7 +31,7 @@ if (!config) {
}
// add loader to the page body
const loader = document.createElement('py-loader');
const loader = <PyLoader>document.createElement('py-loader');
document.body.append(loader);
globalLoader.set(loader);