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
/
array-ref.d.ts
3 lines
(2 loc)
•
222 B
TypeScript
View Raw
1
2
3
import
{
PropertyDefinition
}
from
'../../../..//models/internal'
;
export
declare
function
ArrayRef
(
modelRefName
:
string
,
definition
?:
Partial
<
PropertyDefinition
>
):
(
targetPrototype
:
Object
,
propertyName
:
string
) =>
void
;