mirror of
https://github.com/dzeiocom/libs.git
synced 2025-04-22 10:52:11 +00:00
feat(object-util): export BasicObjectKeys and BasicObject types
The `BasicObjectKeys` and `BasicObject` types are now exported for use outside of the module. Signed-off-by: Avior <f.bouillon@aptatio.com>
This commit is contained in:
parent
c664af98ba
commit
d67c53d89d
@ -1,5 +1,5 @@
|
|||||||
type BasicObjectKeys = string | number | symbol
|
export type BasicObjectKeys = string | number | symbol
|
||||||
type BasicObject<K extends BasicObjectKeys = BasicObjectKeys, V = any> = { [P in K]?: V }
|
export type BasicObject<K extends BasicObjectKeys = BasicObjectKeys, V = any> = { [P in K]?: V }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remap an object to an array through a function
|
* Remap an object to an array through a function
|
||||||
|
Loading…
x
Reference in New Issue
Block a user