type 'this' in typescript code example
Example: typescript function type
interface Date {
toString(): string;
setTime(time: number): number;
// ...
}
interface Date {
toString(): string;
setTime(time: number): number;
// ...
}