Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. /** @constructor */
  2. var foo = function() {};
  3.  
  4. /** @interface */
  5. var hasFoobar = function() {};
  6.  
  7. /** @param {foo} a */
  8. hasFoobar.prototype.foobar = function(a) {};
  9.  
  10. /**
  11. * @constructor
  12. * @extends {foo}
  13. * @implements {hasFoobar}
  14. */
  15. var bar = function() {};
  16.  
  17. bar.prototype = new foo();
  18.  
  19. /** @param {bar} a */
  20. bar.prototype.foobar = function(a) {};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement