cloud-sdk-js icon indicating copy to clipboard operation
cloud-sdk-js copied to clipboard

wrong Type in main.ts

Open Markus-Schroeder-de opened this issue 7 months ago • 0 comments

i get this Error, because in main.ts the const app is from type INestApplication cds.in requires Type Application.

Used Versions:

  • node version: 18.19.0
  • npm version 10.8.2
  • cds-dk: 7.9.4
  • cds: 7.9.3

Error-Messages: the src/main.ts:10:7 - error TS2345: Argument of type 'INestApplication' is not assignable to parameter of type 'Application'. Type 'INestApplication' is missing the following properties from type 'Application<Record<string, any>>': defaultConfiguration, engine, set, param, and 59 more.

Markus-Schroeder-de avatar Jul 17 '24 10:07 Markus-Schroeder-de