0.0.3 • Published 3 years ago

ts-string-literal-enum-plugin v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

ts-string-literal-enum-plugin

A tool that converts enums to string literal enum with only one click. Build with ❤️.

Usages

Usages

Install

As VSCode extension

You can see ts-string-literal-enum-plugin.

As typescript plugin

  1. Install package

yarn add ts-string-literal-enum-plugin

or

npm i ts-string-literal-enum-plugin

  1. Update tsconfig
{
    "compilerOptions": {
        "plugins": [{
            "name": "ts-string-literal-enum-plugin",
        }]
    }
}
  1. Use TypeScript from node_modules

select_typescript_version

Note: you can learn more at here

  1. Enjoy :XD