Can a TypeScript type/interface be created with the specified structure below?
interface Model {
id: number;
something: string;
somethingElse: Date;
[key: string]: string | null;
}
It essentially consists of both defined attributes and 0 to n undefined attributes. Is this achievable?