RenameToType<T>: T extends T ? RenameField<T, "__kind", "type"> : never

Type Parameters

  • T extends {
        __kind: string;
    }

Generated using TypeDoc