interface Endpoint {
    [verb: string]: string;
}

Indexable

[verb: string]: string