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
/
create-property-decorator.d.ts
5 lines
(4 loc)
•
227 B
TypeScript
View Raw
1
2
3
4
5
export
declare
function
createPropertyDecorator
(
callerDecorator
:
string
,
cb
: (targetPrototype:
Object
, propertyName:
string
) => {
type
:
any
; definition:
any
; }
):
(
targetPrototype
:
Object
,
propertyName
:
string
) =>
void
;