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:
@@ -3,20 +3,7 @@ import { useNuiEvent } from '../../hooks/useNuiEvent';
|
||||
import Indicator from './indicator';
|
||||
import { fetchNui } from '../../utils/fetchNui';
|
||||
import { Box, createStyles } from '@mantine/core';
|
||||
|
||||
interface CustomGameDifficulty {
|
||||
areaSize: number;
|
||||
speedMultiplier: number;
|
||||
}
|
||||
|
||||
export type GameDifficulty = 'easy' | 'medium' | 'hard' | CustomGameDifficulty;
|
||||
|
||||
export interface SkillCheckProps {
|
||||
angle: number;
|
||||
difficultyOffset: number;
|
||||
difficulty: GameDifficulty;
|
||||
key: string;
|
||||
}
|
||||
import type { SkillCheckProps, GameDifficulty } from '../../typings';
|
||||
|
||||
export const circleCircumference = 2 * 50 * Math.PI;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user