@@ -932,28 +932,28 @@ declare function global(
932
932
declare function operator ( token : string ) : (
933
933
target : any ,
934
934
propertyKey : string ,
935
- descriptor : TypedPropertyDescriptor < Function >
936
- ) => TypedPropertyDescriptor < Function > | void ;
935
+ descriptor : TypedPropertyDescriptor < any >
936
+ ) => TypedPropertyDescriptor < any > | void ;
937
937
938
938
declare namespace operator {
939
939
/** Annotates a method as a binary operator overload for the specified `token`. */
940
940
export function binary ( token : string ) : (
941
941
target : any ,
942
942
propertyKey : string ,
943
- descriptor : TypedPropertyDescriptor < Function >
944
- ) => TypedPropertyDescriptor < Function > | void ;
943
+ descriptor : TypedPropertyDescriptor < any >
944
+ ) => TypedPropertyDescriptor < any > | void ;
945
945
/** Annotates a method as an unary prefix operator overload for the specified `token`. */
946
946
export function prefix ( token : string ) : (
947
947
target : any ,
948
948
propertyKey : string ,
949
- descriptor : TypedPropertyDescriptor < Function >
950
- ) => TypedPropertyDescriptor < Function > | void ;
949
+ descriptor : TypedPropertyDescriptor < any >
950
+ ) => TypedPropertyDescriptor < any > | void ;
951
951
/** Annotates a method as an unary postfix operator overload for the specified `token`. */
952
952
export function postfix ( token : string ) : (
953
953
target : any ,
954
954
propertyKey : string ,
955
- descriptor : TypedPropertyDescriptor < Function >
956
- ) => TypedPropertyDescriptor < Function > | void ;
955
+ descriptor : TypedPropertyDescriptor < any >
956
+ ) => TypedPropertyDescriptor < any > | void ;
957
957
}
958
958
959
959
/** Annotates a class as being unmanaged with limited capabilities. */
@@ -966,12 +966,12 @@ declare function sealed(constructor: Function): void;
966
966
declare function inline (
967
967
target : any ,
968
968
propertyKey : string ,
969
- descriptor : TypedPropertyDescriptor < Function >
970
- ) : TypedPropertyDescriptor < Function > | void ;
969
+ descriptor : TypedPropertyDescriptor < any >
970
+ ) : TypedPropertyDescriptor < any > | void ;
971
971
972
972
/** Annotates an explicit external name of a function or global. */
973
973
declare function external ( namespace : string , name : string ) : (
974
974
target : any ,
975
975
propertyKey : string ,
976
- descriptor : TypedPropertyDescriptor < Function >
977
- ) => TypedPropertyDescriptor < Function > | void ;
976
+ descriptor : TypedPropertyDescriptor < any >
977
+ ) => TypedPropertyDescriptor < any > | void ;
0 commit comments