mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 22:01:59 +00:00
shut ts up
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
interface Window {
|
interface Window {
|
||||||
// Shut up TS
|
// Shut up TS
|
||||||
SP_REACTDOM: any;
|
SP_REACTDOM: any;
|
||||||
App: any; // TODO type BFinishedInitStageOne in @decky/ui
|
|
||||||
}
|
}
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
@@ -10,6 +9,7 @@ interface Window {
|
|||||||
|
|
||||||
console.time('[Decky:Boot] Waiting for SteamApp init stage 1 to finish...');
|
console.time('[Decky:Boot] Waiting for SteamApp init stage 1 to finish...');
|
||||||
|
|
||||||
|
// @ts-expect-error TODO type BFinishedInitStageOne in @decky/ui
|
||||||
while (!window.App?.BFinishedInitStageOne()) {
|
while (!window.App?.BFinishedInitStageOne()) {
|
||||||
await new Promise((r) => setTimeout(r, 0)); // Can't use DFL sleep here.
|
await new Promise((r) => setTimeout(r, 0)); // Can't use DFL sleep here.
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user