Then, create a subclass of the Enum default export and add cases (and, optionally, freeze the enum to prevent the addition of addition cases): ...
This will create an enum.stub file in your stubs directory. You can then customize this file to decorate your JavaScript enum however you like.