This commit is contained in:
+2
-1
@@ -1 +1,2 @@
|
||||
export * from "./enums";
|
||||
export * from './enums'
|
||||
export * from './utils'
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
export function convertEnum<T extends object>(
|
||||
target: T,
|
||||
value: string
|
||||
): T[keyof T] {
|
||||
return (target as any)[value]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export * from './conver-enum'
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@lendry-erp/common",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "Core shared components for Lendry-ERP microservice ecosystem",
|
||||
"main": "dist/index.js",
|
||||
"type": "dist/index.d.ts",
|
||||
|
||||
Reference in New Issue
Block a user