Slot
interface type-onlyA contribution slot with a CODE half: the data one contribution carries in the manifest, and the implementation the contributor binds by id. A slot written as a plain object type is data-only.
Declaration
export interface Slot<Data, Code = never> {
data: Data;
code: Code;
}