source:
node_modules/es-toolkit/dist/compat/_internal/EmptyObjectOf.d.mts
| Last change on this file was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 162 bytes | |
| Rev | Line | |
|---|---|---|
| [a762898] | 1 | type EmptyObject<T> = { |
| 2 | [K in keyof T]?: never; | |
| 3 | }; | |
| 4 | type EmptyObjectOf<T> = EmptyObject<T> extends T ? EmptyObject<T> : never; | |
| 5 | ||
| 6 | export type { EmptyObjectOf }; |
Note:
See TracBrowser
for help on using the repository browser.
