cap-sflight
cap-sflight copied to clipboard
Migrate to Typescript
- migrate srv to typescript
- include @cds/typer for generated types -> converted some queries to fluent API
- use ts-jest for tests
- use typescript build task for mta deployment
Todos:
- fiori drafts are not compatible with strict mode used by typescript -> fix in cds needed
-
select.one(...).from(...)
is typed as PluralType -> currently needsas unknown as ...
-> potentially fix types