Function Signature
A function signature defines the shape or structure of a function in TypeScript. It specifies the parameter list, the return type, and optionally the this
type of a function. A function signature can be also expressed with a function type.
Example:
1 |
|