mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-26 21:04:44 +00:00
feat(package/getNearbyVehicles): Implement getNearbyVehicles (#8)
This commit is contained in:
1 parent
f59beb2af6
commit
8039539158
3 files changed
+33
-1
No files matched your search
@@ -1,5 +1,7 @@
|
||||
export * from './resource';
|
||||
|
||||
export const context: 'server' | 'client' = IsDuplicityVersion() ? 'server' : 'client';
|
||||
|
||||
// https://www.raygesualdo.com/posts/flattening-object-keys-with-typescript-types/
|
||||
export type FlattenObjectKeys<T extends Record<string, any>, Key = keyof T> = Key extends string
|
||||
? T[Key] extends Record<string, unknown>
|
||||
|
||||
Reference in new issue
Block a user