typescriptpoet icon indicating copy to clipboard operation
typescriptpoet copied to clipboard

fix: make sure static modifier precedes readonly modifier to avoid IDE complaining about the order

Open vegegoku opened this issue 3 years ago • 0 comments

The IDE is marking the generated code with error when generating a readonly static property because readonly is always emitted before static, this is because at some point while emitting the modifier EnumSet.copyOf is used which will reorder the modifiers to match the order in the enum, moving readonly after static should solve the issue.

vegegoku avatar Aug 31 '22 14:08 vegegoku