MapModules = Record<string, () => Promise<unknown>>
Record
string
Promise
unknown
A lazy glob of map files, as Vite’s import.meta.glob("./maps/*.json") returns it: each file’s path, and the call that imports it.
import.meta.glob("./maps/*.json")