mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-26 02:11:56 +00:00
Merge pull request #2 from Start9Labs/feat/extend-migration-type
extend migration type to take in optional params
This commit is contained in:
1
types.ts
1
types.ts
@@ -24,6 +24,7 @@ export namespace ExpectedExports {
|
|||||||
export type migration = (
|
export type migration = (
|
||||||
effects: Effects,
|
effects: Effects,
|
||||||
version: string,
|
version: string,
|
||||||
|
options?: any,
|
||||||
) => Promise<ResultType<MigrationRes>>;
|
) => Promise<ResultType<MigrationRes>>;
|
||||||
export type action = {
|
export type action = {
|
||||||
[id: string]: (
|
[id: string]: (
|
||||||
|
|||||||
Reference in New Issue
Block a user