File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
interface ProxyHandler < T > {
2
- getPrototypeOf ? ( target : T ) : any ;
2
+ getPrototypeOf ? ( target : T ) : { } | null ;
3
3
setPrototypeOf ? ( target : T , v : any ) : boolean ;
4
4
isExtensible ? ( target : T ) : boolean ;
5
5
preventExtensions ? ( target : T ) : boolean ;
@@ -12,11 +12,11 @@ interface ProxyHandler<T> {
12
12
enumerate ? ( target : T ) : PropertyKey [ ] ;
13
13
ownKeys ? ( target : T ) : PropertyKey [ ] ;
14
14
apply ? ( target : T , thisArg : any , argArray ?: any ) : any ;
15
- construct ? ( target : T , thisArg : any , argArray ?: any ) : any ;
15
+ construct ? ( target : T , argArray : any , newTarget ?: any ) : { } ;
16
16
}
17
17
18
18
interface ProxyConstructor {
19
19
revocable < T > ( target : T , handler : ProxyHandler < T > ) : { proxy : T ; revoke : ( ) => void ; } ;
20
20
new < T > ( target : T , handler : ProxyHandler < T > ) : T
21
21
}
22
- declare var Proxy : ProxyConstructor ;
22
+ declare var Proxy : ProxyConstructor ;
You can’t perform that action at this time.
0 commit comments