Typescript is a subset of JavaScript but there are few aspects that set them apart. Typescript is object-oriented whereas JavaScript is not. Similarly, with typescript we can build app architecture which is not possible in Javascript.