Runtime error with ttsc but no idea why
jasonkuhrt opened this issue · comments
Jason Kuhrt commented
In my TS template project repo I am trying to get nameof
working but it doesn't work. I'm not sure what I'm doing wrong.
The attempt at getting it to work can be found here, its not complicated:
jasonkuhrt/template-typescript-lib#24
Given how simple the setup is, and instructions are, I am wondering if there is a bug in ts-nameof
🤔.
David Sherret commented
@jasonkuhrt I think “plugins” just needs to go under “compilerOptions” and it should work. See https://github.com/cevek/ttypescript#tsconfigjson
Jason Kuhrt commented
🤦 I just came back to write that
Thanks! haha
David Sherret commented
No problem! I had no idea what was wrong there for a minute as well 😄