Skip to content

Files

Latest commit

 

History

History
6 lines (4 loc) · 329 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 329 Bytes

how to augment interface that is a type?

$ tsc
  index.ts(21,5): error TS2345: Argument of type '{ from: string; to: string; template: string; }' is not assignable to parameter of type 'SendMailOptions'.
  Object literal may only specify known properties, and 'template' does not exist in type 'SendMailOptions'.