Getter type

Signature:

export type Getter<T> = (() => T) | T | string;