deepkit-framework icon indicating copy to clipboard operation
deepkit-framework copied to clipboard

fix(type-compiler): include enum annotations in .d.ts transformation

Open kuesutodev opened this issue 1 year ago • 0 comments

Summary of changes

Exported enums seem to not generate __Ω annotations in their respective .d.ts files. This leads to Symbol ___Ω not found in... type errors when other packages want to use those definitions.

Adding this check seems to have the desired effect and looks like one of the other checks above: https://github.com/deepkit/deepkit-framework/blob/master/packages/type-compiler/src/compiler.ts#L910

Relinquishment of Rights

Please mark following checkbox to confirm that you relinquish all rights of your changes:

  • [x] I waive and relinquish all rights regarding this changes (including code, text, and images) to Deepkit UG (limited), Germany. This changes (including code, text, and images) are under MIT license without name attribution, copyright notice, and permission notice requirement.

kuesutodev avatar Aug 15 '24 15:08 kuesutodev