Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 870 Bytes

README.md

File metadata and controls

42 lines (24 loc) · 870 Bytes

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