This interface can be augmented by users to add types to Koa's default context

interface DefaultContext {
    [key: PropertyKey]: any;
}

Hierarchy (view full)

Indexable

[key: PropertyKey]: any

Custom properties.