Typescript compile support