Skip to content

migrateMap beta ​

Function of @v12-engine/engine

ts
export declare function migrateMap(data: unknown, to?: number, steps?: Record<number, MapMigration>): Record<string, unknown>;

A map file brought up to the format this reader knows, step by step. Throws for what is not a map file, and for one of a newer format: what changed in it cannot be known here. to and steps are the reader's own when left out