Skip to content

tom-schier/dt-enum-question

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is to support a Stack Overflow Question here

To replicate the issue Run npm i then MOVE the enum-test folder into node_modules@types

As per my question this does not work but if you replace export enum EnumType ... with export const enum EnumType... this works fine.

However, the linter required for submission to DefintelyTyped does not allow this. So how do you achieve this or work around it?

About

Repo to support a Stock Overflow question

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published