1.1.0 • Published 3 months ago
ts5-nameof v1.1.0
ts5-nameof
nameof
in TypeScript.
npm install ts5-nameof @types/ts5-nameof --save-dev
Setup
1. Build Setup
Follow any of these instructions:
These instructions need updating to use the transformation API, but will still work in the meantime:
- Nuxt - Use https://github.com/Kukks/nuxt-ts5-nameof
2. Declaring global nameof
function
Install @types/ts5-nameof
:
npm install @types/ts5-nameof --save-dev