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:
@@ -6,6 +6,7 @@ export * from './interface/menu';
|
||||
export * from './interface/notify';
|
||||
export * from './interface/progress';
|
||||
export * from './interface/textui';
|
||||
export * from './interface/skillcheck';
|
||||
|
||||
export * from './streaming';
|
||||
|
||||
|
||||
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