ionic2 build, want to add typescript

If you want to start a TypeScript project you should specify it explicitly (as currently JS is the default):

ionic start MyApp --v2 --ts

If you want to convert a JavaScript project to TypeScript follow the steps in the linked post:

If you don’t have much own code yet, maybe it’ll be faster to re-start the project, otherwise the conversion of existing project to TypeScript is also not very difficult.