typescript compiler for component