tien commented on code in PR #2599:
URL: https://github.com/apache/tinkerpop/pull/2599#discussion_r1632124783
##########
gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.ts:
##########
@@ -73,20 +77,26 @@ export class Vertex<T extends Record<string, any> =
Record<string, any>> extends
}
}
-export class Edge<T extends Record<string, any> = Record<string, any>> extends
Element {
+export class Edge<
+ TOutVertex extends Vertex = Vertex,
+ TLabel extends string = string,
+ TInVertex extends Vertex = Vertex,
+ TProperties extends Record<string, any> = Record<string, any>,
+ TId extends number | string = number,
Review Comment:
Thanks, I've removed the type restriction.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]