I have a tool that auto generates types (graphql codegen). In the generated type definition file, it exports an enum

```
 export enum DevicesSortField {
  Name = 'NAME',
  ConfigurationStatus = 'CONFIGURATION_STATUS',
  Connectivity = 'CONNECTIVITY'
}

```

If I try to use the enum in some way in my ts file, such as switch case on all the cases, I get a MODULE\_NOT\_FOUND error at runtime. This is because it tries to import the d.ts file from the js transpiled code. However, there are no typings files that can be seen according to the js code! Normally, string enums are converted into objects when they're transpiled, but I guess theres different behaviour if the enum is in a .d.ts file. How do i get around this?