diff --git a/javascript/extractor/src/com/semmle/ts/ast/UnaryTypeExpr.java b/javascript/extractor/src/com/semmle/ts/ast/UnaryTypeExpr.java index f0bcc89b36b..2f2619c6ece 100644 --- a/javascript/extractor/src/com/semmle/ts/ast/UnaryTypeExpr.java +++ b/javascript/extractor/src/com/semmle/ts/ast/UnaryTypeExpr.java @@ -3,7 +3,11 @@ package com.semmle.ts.ast; import com.semmle.js.ast.SourceLocation; import com.semmle.js.ast.Visitor; -/** A type of form keyof T where T is a type. */ +/** + * A unary operator applied to a type. + * + * This can be keyof T or readonly T. + */ public class UnaryTypeExpr extends TypeExpression { private final ITypeExpression elementType; private final Kind kind;