Skip to content

Argument ... is not assignable  #4

@dcsan

Description

@dcsan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions