==== tests/cases/compiler/crashIntypeCheckInvocationExpression.ts (4 errors) ==== var nake; function doCompile(fileset: P0, moduleType: P1) { return undefined; } export var compileServer = task(() => { ~~~~ !!! Cannot find name 'task'. var folder = path.join(), ~~~~ !!! Cannot find name 'path'. fileset = nake.fileSetSync(folder) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ !!! Untyped function calls may not accept type arguments. return doCompile(fileset, moduleType); ~~~~~~~~~~ !!! Cannot find name 'moduleType'. });