Is there a way to define a type that allows for a object with any properties, but enforces having at least 1 (unknown) property?
// this does not work
type Test = {
[key: string]: any
}
const obj: Test = {} // this should give an error
const anotherObj: Test = { something: "thing" } // this should work