Typescript compilation

Shouldn't this be part of the common lib so it can be reused by the NativeScript CLI?