mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
feat(package): skillcheck typings
This commit is contained in:
4
package/client/resource/interface/skillcheck.ts
Normal file
4
package/client/resource/interface/skillcheck.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
type SkillCheckDifficulty = 'easy' | 'medium' | 'hard' | { areaSize: number; speedMultiplier: number };
|
||||
|
||||
export const skillCheck = (difficulty: SkillCheckDifficulty | SkillCheckDifficulty[]) =>
|
||||
exports.ox_lib.skillCheck(difficulty);
|
||||
Reference in New Issue
Block a user