express-typescript-mongoose-starter
express-typescript-mongoose-starter copied to clipboard
Argument ... is not assignable
trafficstars
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.