Skip to content

Commit

Permalink
Add the properties for Property (isDefinitelyAssigned, isOptional, is…
Browse files Browse the repository at this point in the history
…JavaScriptPrivate)
  • Loading branch information
fuhrmanator committed Jul 30, 2024
1 parent 0364f20 commit 7ec87f0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,12 @@ FamixTypeScriptGenerator >> defineProperties [
comment: 'Decorators use the form @expression, where expression must evaluate to a function that will be called at runtime with information about the decorated declaration'.
(property property: #readOnly type: #Boolean defaultValue: false)
comment: 'Properties may be prefixed with the readonly modifier. This prevents assignments to the field outside of the constructor.'.
(property property: #isDefinitelyAssigned type: #Boolean defaultValue: false)
comment: 'Properties may be postfixed with a definitely assigned modifier.'.
(property property: #isOptional type: #Boolean defaultValue: false)
comment: 'Properties may be postfixed with an optional modifier.'.
(property property: #isJavaScriptPrivate type: #Boolean defaultValue: false)
comment: 'Properties may be postfixed with a private modifier that makes the property private even in JavaScript.'.
(comment property: #isJSDoc type: #Boolean defaultValue: false)
comment: 'Comments can have the form of JSDoc.'.

Expand Down

0 comments on commit 7ec87f0

Please sign in to comment.