Components may implement this interface to convey any associated ActionContext.

interface Contextual {
    [context]?: ActionContext;
    context: typeof context;
    contextOf(subject: unknown): undefined | ActionContext;
    setContextOf(subject: {}, context?: ActionContext): void;
}

Properties

Properties

[context]?: ActionContext