UNPKG
@starrah/mongo-ts-struct
Version:
latest (1.1.2)
1.1.2
Mongoose wrapper for Typescript supports
github.com/Starrah/mongo-ts
Starrah/mongo-ts
@starrah/mongo-ts-struct
/
dist
/
core
/
meta
/
field
/
create-property-decorator.d.ts
5 lines
(4 loc)
•
231 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
;