InjectToObject<T extends ComponentInjectOptions>: T extends string[]
    ? {
        [K in T[number]]?: unknown
    }
    : T extends ObjectInjectOptions
        ? {
            [K in keyof T]?: unknown
        }
        : never

Type Parameters