Skip to content

Profectus / features/achievements/achievement / createAchievement

Function: createAchievement() ​

createAchievement<T>(optionsFunc?): any

Lazily creates an achievement with the given options.

Type Parameters ​

• T extends AchievementOptions

Parameters ​

optionsFunc? ​

() => T

Achievement options.

Returns ​

any

Defined in ​

profectus/src/features/achievements/achievement.tsx:98