mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
refactor(web): move all types into typings folder
This commit is contained in:
13
web/src/typings/skillcheck.ts
Normal file
13
web/src/typings/skillcheck.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
interface CustomGameDifficulty {
|
||||
areaSize: number;
|
||||
speedMultiplier: number;
|
||||
}
|
||||
|
||||
export type GameDifficulty = 'easy' | 'medium' | 'hard' | CustomGameDifficulty;
|
||||
|
||||
export interface SkillCheckProps {
|
||||
angle: number;
|
||||
difficultyOffset: number;
|
||||
difficulty: GameDifficulty;
|
||||
key: string;
|
||||
}
|
||||
Reference in New Issue
Block a user