I have this type:
type TFunctionResult = string | object | (string | object)[] | null | undefined
I want a subset:
type TResult =