FlorianHockmann commented on code in PR #2599:
URL: https://github.com/apache/tinkerpop/pull/2599#discussion_r1636336119


##########
gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/graph.ts:
##########
@@ -119,6 +134,13 @@ export class VertexProperty<T1 = any, T2 = any> extends 
Element {
   }
 }
 
+export type VertexProperties<
+  TLabel extends string = string,
+  TValue = any,
+  TProperties extends Record<string, any> = Record<string, any>,
+  TId = any,
+> = [VertexProperty<TLabel, TValue, TProperties, TId>, 
...Array<VertexProperty<TLabel, TValue, TProperties, TId>>];

Review Comment:
   Interesting, didn't know the spread operator. Thanks for the explanation :)



-- 
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]

Reply via email to