When should I create enum or use string literal type ?

String literal type:

export type Person = {
    id : number,
    name : string,
    gender : "male" | "female"
}

Enum:

export enum Gender{
    male = "male",
    female = "female"
}

export type Person = {
    id : number,
    name : string,
    gender : Gender
}

Which one should I use and why ? Is it any best practices or convention ?
I don’t see big difference if the enum is used by 1 class and 1 component.