In typescript I can document a dictionary/map that has certain given entries but is still a dictionary/map (as you can add or remove entries) like this
type Foo = {
bar: number;
moo: number;
[key: string]: number;
};
Is there a JSDoc equivalent?