Building a Paint App in TypeScript