I set the return type of the function below to {}, and eslint gave an error(Don't use {} as a type. {} actually means "any non-nullish value".).
OK, I understood what this error means because return type {} allows me to return a value of other types.
So if I want to return only an empty object, what type should be used as the return type?
function a(): {} {
return {};
// return 1; // NOT ALLOWED
}