kennylerma commented on issue #1: externs for getters and setters
URL: https://github.com/apache/royale-typedefs/issues/1#issuecomment-391013711
 
 
   In my particular use case, I need to override a getter method.  
Additionally, I want to match the external library as closely as possible to 
catch compile time errors like attempting to set a read only variable.
   
   I hoping I can contribute a bit to this repo by completing out the CreateJS 
library and possible more, but I'll need ability to create the getters and 
setters.  Something simple might just be adding the @readonly to generate a 
getter.
   
   ```
   /**
    * @type {number}
    * @readonly
    */
   createjs.MovieClip.prototype.currentFrame;
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to