File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,19 @@ export function nativeProperty(...args) {
5353 return nativePropertyGenerator ( args [ startIndex ] , args [ startIndex + 1 ] , options || { } ) ;
5454 }
5555}
56+ export function nativeMapVecProperty ( target : any , k ?, desc ?: PropertyDescriptor ) : any ;
57+ export function nativeMapVecProperty ( options : NativePropertyOptions ) : ( target : any , k ?, desc ?: PropertyDescriptor ) => any ;
58+ export function nativeMapVecProperty ( ...args ) {
59+ return nativeProperty (
60+ {
61+ converter : {
62+ fromNative : fromNativeMapVec ,
63+ toNative : toNativeMapVec ,
64+ } ,
65+ } ,
66+ ...args
67+ ) ;
68+ }
5669
5770export function nonenumerable ( target : any , name : string ) : void ;
5871export function nonenumerable ( target : any , name : string , desc : PropertyDescriptor ) : PropertyDescriptor ;
You can’t perform that action at this time.
0 commit comments