dsherret / ts-nameof

nameof in TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Runtime error with ttsc but no idea why

jasonkuhrt opened this issue · comments

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 🤔.

@jasonkuhrt I think “plugins” just needs to go under “compilerOptions” and it should work. See https://github.com/cevek/ttypescript#tsconfigjson

🤦 I just came back to write that

Thanks! haha

No problem! I had no idea what was wrong there for a minute as well 😄