You can use the ctor shorthand: `GitRef(this.sha, this.name);`