(rest: MaybeOptionalOptions<T>)
| 3 | : [options: TOptions] |
| 4 | |
| 5 | export function resolveMaybeOptionalOptions<T>(rest: MaybeOptionalOptions<T>): T { |
| 6 | return rest[0] ?? {} as T // 0 only undefined when all fields are optional |
| 7 | } |
no outgoing calls
no test coverage detected