mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-29 05:14:44 +00:00
feat(package): skillcheck typings
This commit is contained in:
1 parent
d4b331c104
commit
5c4853798e
2 files changed
+5
No files matched your search
@@ -6,6 +6,7 @@ export * from './interface/menu';
|
|||||||
export * from './interface/notify';
|
export * from './interface/notify';
|
||||||
export * from './interface/progress';
|
export * from './interface/progress';
|
||||||
export * from './interface/textui';
|
export * from './interface/textui';
|
||||||
|
export * from './interface/skillcheck';
|
||||||
|
|
||||||
export * from './streaming';
|
export * from './streaming';
|
||||||
|
|
||||||
|
|||||||
@@ -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