Type alias ParseVars<C, Vars>
Parse
Vars
<C, Vars>: Simplify<C extends [infer H
, ...(infer T
)] ? H extends [infer K
, infer V
] ? K extends "MATCH" | "MERGE" | "CREATE" ? T extends [string, string][] ? ParseVars<T, Vars & ParseMatchVars<V>> : Vars & ParseMatchVars<V> : K extends "WITH" | "RETURN" ? T extends [string, string][] ? ParseVars<T, ParseWithVars<V, Vars>> : ParseWithVars<V, Vars> : T extends [string, string][] ? ParseVars<T, Vars> : Vars : Vars : Vars>
Type Parameters
-
C extends [string, string][]
-