cap-js / cds-typer

CDS type generator for JavaScript
Apache License 2.0
29 stars 10 forks source link

Reintroduce declare modifier on actions #392

Closed daogrady closed 1 week ago

daogrady commented 1 week ago

Fixes https://github.com/cap-js/cds-typer/issues/391

We recently introduced a distinction between entities that have no actions ( = empty .actions property) and ones that do. In one of these branches, the required overrides modifier got lost. This PR streamlines both cases and reintroduces the modifier. It also strictens the effective tsconfig that is used for transpilation tests to catch this kind of regression in the future.