Error compiling my TypeScript file: error TS5011

0

My code in the file say.ts:

function say(person) {
    return "Hello" + person;
}

var user = "Gabriel Lemos";

console.log(say(user));

When I tried to compile:

  

tsc say.ts

I had the error: path \ say.js (1,1): error TS5011: Emit Error: Failed to write to file ..

    
asked by anonymous 06.09.2018 / 21:49

0 answers