type-script: no path throws CompileException