UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

5 lines 213 B
//#region src/compat/_internal/EmptyObjectOf.d.ts type EmptyObject<T> = { [K in keyof T]?: never }; type EmptyObjectOf<T> = EmptyObject<T> extends T ? EmptyObject<T> : never; //#endregion export { EmptyObjectOf };