Commit Graph

5 Commits

Author SHA1 Message Date
simoleo89 e82d3e03be chore(types): augment ImportMeta with glob signature
`AssetManager.loadRoomImages()` and friends use `import.meta.glob('./assets/...', { eager: true })`
to bundle PNG assets via Vite, but TypeScript doesn't see `glob` on
ImportMeta without pulling `vite/client` — which we avoid here so the
React client (which has its own asset declarations) keeps full control.

src/globals.d.ts adds just the `glob` signature, typed for the eager
image case (`Record<string, { default: string }>`). The call sites'
existing `mod.default ?? mod` narrowing still works.

Net renderer typecheck: 29 → 26 (-3 errors).
2026-05-10 21:46:10 +02:00
duckietm 14bf0fdcbd 🆙 Fix firework memory leak and update pixi.js 2024-09-13 08:04:35 +02:00
duckietm bd09ea8b25 🆙 added latest changes 2024-07-04 15:03:26 +02:00
duckietm b3134ce50b Move to Renderer V2 2024-04-03 09:27:56 +02:00
duckietm 110c3ad393 init: Fork from Original V2 Renderer 2024-04-03 09:16:49 +02:00