1 2 3 4 5 6 7 8 9 10
'use strict'; export default class Position { constructor(public x: number, public y: number) {} asString(): string { return `${this.x},${this.y}`; } }