Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 550 Bytes

explicit-resource-management.md

File metadata and controls

15 lines (10 loc) · 550 Bytes

Declarations

VariableDeclaration

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.