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

Type Parameters

versions extends string

Parameters

migrations: M.MigrationMapping<versions>
currentVersion: string

Returns

T.ExpectedExports.migration