Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong Type in main.ts #1159

Open
Markus-Schroeder-de opened this issue Jul 17, 2024 · 0 comments
Open

wrong Type in main.ts #1159

Markus-Schroeder-de opened this issue Jul 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Markus-Schroeder-de
Copy link

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 Markus-Schroeder-de added the bug Something isn't working label Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant