We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30b3787 commit dfbc27dCopy full SHA for dfbc27d
connect/src/routes/route.ts
@@ -66,8 +66,8 @@ export interface RouteMeta {
66
source?: string;
67
}
68
69
-export interface RouteConstructor {
70
- new <N extends Network>(wh: Wormhole<N>, request: RouteTransferRequest<N>): Route<N>;
+export interface RouteConstructor<OP extends Options = Options> {
+ new<N extends Network>(wh: Wormhole<N>, request: RouteTransferRequest<N>): Route<N, OP>;
71
/** Details about the route provided by the implementation */
72
readonly meta: RouteMeta;
73
/** get the list of networks this route supports */
0 commit comments