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

Argument ... is not assignable #4

Open
dcsan opened this issue Jun 28, 2019 · 0 comments
Open

Argument ... is not assignable #4

dcsan opened this issue Jun 28, 2019 · 0 comments

Comments

@dcsan
Copy link

dcsan commented Jun 28, 2019

this looks like a nice lean boilerplate but I get the following error, both in VSCode/tslint and after running the app:

[0] src/api/example/example.controller.ts(48,7): error TS2345: Argument of type '{ title: string; subtitle: string; }' is not assignable to parameter of type 'Partial<Document>'.
[0]   Object literal may only specify known properties, and 'title' does not exist in type 'Partial<Document>'.
[0] 4:59:20 PM - Found 1 error. Watching for file changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant