We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ac72bd commit ef7bde4Copy full SHA for ef7bde4
javascript/extractor/src/com/semmle/ts/ast/UnaryTypeExpr.java
@@ -3,7 +3,11 @@
3
import com.semmle.js.ast.SourceLocation;
4
import com.semmle.js.ast.Visitor;
5
6
-/** A type of form <tt>keyof T</tt> where <tt>T</tt> is a type. */
+/**
7
+ * A unary operator applied to a type.
8
+ *
9
+ * This can be <tt>keyof T</tt> or <tt>readonly T</tt>.
10
+ */
11
public class UnaryTypeExpr extends TypeExpression {
12
private final ITypeExpression elementType;
13
private final Kind kind;
0 commit comments