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