0.0.11 • Published 10 months ago

@typescript-nameof/nameof v0.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

TypeScript nameof Plugin

Build Status

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

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.