extend interface VariableDeclaration {
kind: "using" | "await using";
}
If kind
is "using"
or "await using"
, for every declarator d
of declarations
, d.id
must be an Identifier. If the variable declaration is the left
of a ForOfStatement, d.init
must be null
, otherwise d.init
must be an Expression.