Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function compat.migrations.fromMapping
import { compat } from "https://deno.land/x/embassyd_sdk@v0.3.3.0.4/mod.ts";
const { fromMapping } = compat.migrations;

Type Parameters

versions extends string

Parameters

migrations: M.MigrationMapping<versions>
currentVersion: string

Returns

T.ExpectedExports.migration