@typescript-nameof/nameof
v0.0.11
Published
Allows the use of `nameof()` calls in TypeScript projects.
Downloads
1,458
Maintainers
Readme
TypeScript nameof
Plugin
Allows the use of nameof()
calls in TypeScript projects.
This package provides support for nameof()
calls for ts-patch
, ts-jest
, ts-loader
, ttypescript
and every ecosystem which supports TypeScript TransformerFactory
s.
nameof()
calls enable you to access the names of variables, properties and types:
console.log(nameof(this)); // Prints `this`
Please check out the project repository to find out more on how to set up TypeScript nameof
in your build process.