(module: T)
| 18 | }; |
| 19 | |
| 20 | export const ensureDefaultExport = <T>(module: T) => { |
| 21 | const defaultExport = module as unknown as { default: T }; |
| 22 | return defaultExport.default ?? module; |
| 23 | }; |
| 24 | |
| 25 | export const getEntries = <T extends object>(obj: T) => Object.entries(obj) as Entries<T>; |
| 26 |
no outgoing calls
no test coverage detected