Files
test-repo/tests/sealed/function.js
T

9 lines
188 B
JavaScript
Raw Normal View History

2016-12-23 19:31:38 +00:00
/* @flow */
function Bar(x: number) {
this.x = x;
}
Bar.prototype.getX = function() { return this.x; }
Bar.prototype.getY = function(): string { return this.y; }
module.exports = Bar;