I have an object as follows -

```
type Person = {
  firstname: string,
  lastname: string,
}

let person: Person = {
   firstname: "John",
   lastname: "Doe",
   fullname: function() {
     return `${this.firstname} ${this.lastname}`
   }
}

```

How to declare type for fullname method?