mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-24 11:58:35 +00:00
fix(package): specify side-effects and do not bundle output
This commit is contained in:
1 parent
7bd22441ff
commit
e1c1647343
4 files changed
+618
-505
No files matched your search
@@ -1,7 +1,7 @@
|
||||
export * from './resource';
|
||||
|
||||
// https://www.raygesualdo.com/posts/flattening-object-keys-with-typescript-types/
|
||||
export type FlattenObjectKeys<T extends Record<string, unknown>, Key = keyof T> = Key extends string
|
||||
export type FlattenObjectKeys<T extends Record<string, any>, Key = keyof T> = Key extends string
|
||||
? T[Key] extends Record<string, unknown>
|
||||
? `${Key}.${FlattenObjectKeys<T[Key]>}`
|
||||
: `${Key}`
|
||||
|
||||
Reference in new issue
Block a user