I did install and declared it as global function, like below. However, when I went to use it, I get an undefined symbol. What am I missing? do I still need to import it beside making it global? I'm also new to react js.
installed with npm install ts-nameof @types/ts-nameof --save-dev and marked as global with npm install @types/ts-nameof --save-dev
UPDATE: it seems I do have to use ttypescript? does this mess up with tsconfig.json somewhat?
I did install and declared it as global function, like below. However, when I went to use it, I get an undefined symbol. What am I missing? do I still need to import it beside making it global? I'm also new to react js.
installed with
npm install ts-nameof @types/ts-nameof --save-dev
and marked as global withnpm install @types/ts-nameof --save-dev
UPDATE: it seems I do have to use ttypescript? does this mess up with tsconfig.json somewhat?