cap-sflight icon indicating copy to clipboard operation
cap-sflight copied to clipboard

Migrate to Typescript

Open Akatuoro opened this issue 4 months ago • 2 comments

  • 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 needs as unknown as ... -> potentially fix types

Akatuoro avatar Oct 08 '24 14:10 Akatuoro