CodeQL library for JavaScript
Search

Member predicate FieldDeclaration::getTypeAnnotation

Gets the type annotation of this field, if any, such as T in { x: T }.

TypeAnnotation getTypeAnnotation()