UNPKG
mongo-ts-struct
Version:
beta (1.0.2)
latest (1.2.0)
1.2.0
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
Mongoose wrapper for Typescript supports
github.com/OfirTheOne/mongo-ts
OfirTheOne/mongo-ts
mongo-ts-struct
/
dist
/
core
/
meta
/
field
/
common
/
enum.d.ts
3 lines
(2 loc)
•
220 B
TypeScript
View Raw
1
2
3
import
{
PropertyDefinition
}
from
'../../../../models/internal'
;
export
declare
function
Enum
(
enumKeys
:
Array
<
string
>,
definition
?:
Partial
<
PropertyDefinition
>
):
(
targetPrototype
:
Object
,
propertyName
:
string
) =>
void
;