Open parzhitsky opened 2 years ago
This is now achievable since TypeScript 5.0, but unless Virtual-Finland-Development/codesets updates to it from TypeScript 4.9, it is a breaking change for them.
@lsipii ^
By the way, @lsipii, huge thanks for using the library! ❤️
Currently, when another entity definition is added to a
*.type.ts
file, to re-export it through entry-pointindex.ts
file it is necessary to reference this definition again viaexport { Entity } from "entity.type.ts";
statement:To comply to D.R.Y., the export statement should automatically pick up and re-export all definitions:
However, the latest version of TypeScript (4.4.x) preserves this export for type entities, causing runtime error due to these entities missing.