mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 12:21:57 +00:00
chore: Make the return type as any
This commit is contained in:
4
types.ts
4
types.ts
@@ -19,7 +19,7 @@ export namespace ExpectedExports {
|
|||||||
[id: string]: (
|
[id: string]: (
|
||||||
effects: Effects,
|
effects: Effects,
|
||||||
dateMs: number,
|
dateMs: number,
|
||||||
) => Promise<ResultType<null | void>>;
|
) => Promise<ResultType<unknown>>;
|
||||||
};
|
};
|
||||||
export type migration = (
|
export type migration = (
|
||||||
effects: Effects,
|
effects: Effects,
|
||||||
@@ -37,7 +37,7 @@ export namespace ExpectedExports {
|
|||||||
* This is the entrypoint for the main container. Used to start up something like the service that the
|
* This is the entrypoint for the main container. Used to start up something like the service that the
|
||||||
* package represents, like running a bitcoind in a bitcoind-wrapper.
|
* package represents, like running a bitcoind in a bitcoind-wrapper.
|
||||||
*/
|
*/
|
||||||
export type main = (effects: Effects) => Promise<ResultType<null | void>>;
|
export type main = (effects: Effects) => Promise<ResultType<unknown>>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Used to reach out from the pure js runtime */
|
/** Used to reach out from the pure js runtime */
|
||||||
|
|||||||
Reference in New Issue
Block a user