3 lines
119 B
TypeScript
3 lines
119 B
TypeScript
|
declare function ToObject<T = {}>(value: T extends object ? T : {}): T extends object ? T : object;
|
||
|
|
||
|
export = ToObject;
|