interface IAvatar<T = []> {
    id: string;
    name: TAvatarGetName extends T ? string : never;
    path: TAvatarGetPath extends T ? string : never;
    type: TAvatarGetType extends T ? string : never;
}

Type Parameters

  • T = []

Properties

Properties

id: string
name: TAvatarGetName extends T ? string : never
path: TAvatarGetPath extends T ? string : never
type: TAvatarGetType extends T ? string : never