Skip to content

Commit 03685f4

Browse files
committed
Update LKG
1 parent 4a5d3a2 commit 03685f4

File tree

10 files changed

+27442
-20002
lines changed

10 files changed

+27442
-20002
lines changed

bin/lib.core.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,4 +1183,4 @@ interface TypedPropertyDescriptor<T> {
11831183
declare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;
11841184
declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;
11851185
declare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
1186-
declare type ParameterDecorator = (target: Function, propertyKey: string | symbol, parameterIndex: number) => void;
1186+
declare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;

bin/lib.core.es6.d.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ interface TypedPropertyDescriptor<T> {
11831183
declare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;
11841184
declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;
11851185
declare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
1186-
declare type ParameterDecorator = (target: Function, propertyKey: string | symbol, parameterIndex: number) => void;
1186+
declare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;
11871187
declare type PropertyKey = string | number | symbol;
11881188

11891189
interface Symbol {
@@ -4699,27 +4699,27 @@ interface ProxyHandler<T> {
46994699

47004700
interface ProxyConstructor {
47014701
revocable<T>(target: T, handler: ProxyHandler<T>): { proxy: T; revoke: () => void; };
4702-
new <T>(target: T, handeler: ProxyHandler<T>): T
4702+
new <T>(target: T, handler: ProxyHandler<T>): T
47034703
}
47044704
declare var Proxy: ProxyConstructor;
47054705

4706-
declare var Reflect: {
4707-
apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;
4708-
construct(target: Function, argumentsList: ArrayLike<any>): any;
4709-
defineProperty(target: any, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;
4710-
deleteProperty(target: any, propertyKey: PropertyKey): boolean;
4711-
enumerate(target: any): IterableIterator<any>;
4712-
get(target: any, propertyKey: PropertyKey, receiver?: any): any;
4713-
getOwnPropertyDescriptor(target: any, propertyKey: PropertyKey): PropertyDescriptor;
4714-
getPrototypeOf(target: any): any;
4715-
has(target: any, propertyKey: string): boolean;
4716-
has(target: any, propertyKey: symbol): boolean;
4717-
isExtensible(target: any): boolean;
4718-
ownKeys(target: any): Array<PropertyKey>;
4719-
preventExtensions(target: any): boolean;
4720-
set(target: any, propertyKey: PropertyKey, value: any, receiver? :any): boolean;
4721-
setPrototypeOf(target: any, proto: any): boolean;
4722-
};
4706+
declare module Reflect {
4707+
function apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;
4708+
function construct(target: Function, argumentsList: ArrayLike<any>): any;
4709+
function defineProperty(target: any, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;
4710+
function deleteProperty(target: any, propertyKey: PropertyKey): boolean;
4711+
function enumerate(target: any): IterableIterator<any>;
4712+
function get(target: any, propertyKey: PropertyKey, receiver?: any): any;
4713+
function getOwnPropertyDescriptor(target: any, propertyKey: PropertyKey): PropertyDescriptor;
4714+
function getPrototypeOf(target: any): any;
4715+
function has(target: any, propertyKey: string): boolean;
4716+
function has(target: any, propertyKey: symbol): boolean;
4717+
function isExtensible(target: any): boolean;
4718+
function ownKeys(target: any): Array<PropertyKey>;
4719+
function preventExtensions(target: any): boolean;
4720+
function set(target: any, propertyKey: PropertyKey, value: any, receiver? :any): boolean;
4721+
function setPrototypeOf(target: any, proto: any): boolean;
4722+
}
47234723

47244724
/**
47254725
* Represents the completion of an asynchronous operation

bin/lib.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ interface TypedPropertyDescriptor<T> {
11831183
declare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;
11841184
declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;
11851185
declare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
1186-
declare type ParameterDecorator = (target: Function, propertyKey: string | symbol, parameterIndex: number) => void;
1186+
declare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;
11871187

11881188
/////////////////////////////
11891189
/// IE10 ECMAScript Extensions

bin/lib.es6.d.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ interface TypedPropertyDescriptor<T> {
11831183
declare type ClassDecorator = <TFunction extends Function>(target: TFunction) => TFunction | void;
11841184
declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;
11851185
declare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
1186-
declare type ParameterDecorator = (target: Function, propertyKey: string | symbol, parameterIndex: number) => void;
1186+
declare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;
11871187
declare type PropertyKey = string | number | symbol;
11881188

11891189
interface Symbol {
@@ -4699,27 +4699,27 @@ interface ProxyHandler<T> {
46994699

47004700
interface ProxyConstructor {
47014701
revocable<T>(target: T, handler: ProxyHandler<T>): { proxy: T; revoke: () => void; };
4702-
new <T>(target: T, handeler: ProxyHandler<T>): T
4702+
new <T>(target: T, handler: ProxyHandler<T>): T
47034703
}
47044704
declare var Proxy: ProxyConstructor;
47054705

4706-
declare var Reflect: {
4707-
apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;
4708-
construct(target: Function, argumentsList: ArrayLike<any>): any;
4709-
defineProperty(target: any, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;
4710-
deleteProperty(target: any, propertyKey: PropertyKey): boolean;
4711-
enumerate(target: any): IterableIterator<any>;
4712-
get(target: any, propertyKey: PropertyKey, receiver?: any): any;
4713-
getOwnPropertyDescriptor(target: any, propertyKey: PropertyKey): PropertyDescriptor;
4714-
getPrototypeOf(target: any): any;
4715-
has(target: any, propertyKey: string): boolean;
4716-
has(target: any, propertyKey: symbol): boolean;
4717-
isExtensible(target: any): boolean;
4718-
ownKeys(target: any): Array<PropertyKey>;
4719-
preventExtensions(target: any): boolean;
4720-
set(target: any, propertyKey: PropertyKey, value: any, receiver? :any): boolean;
4721-
setPrototypeOf(target: any, proto: any): boolean;
4722-
};
4706+
declare module Reflect {
4707+
function apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;
4708+
function construct(target: Function, argumentsList: ArrayLike<any>): any;
4709+
function defineProperty(target: any, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;
4710+
function deleteProperty(target: any, propertyKey: PropertyKey): boolean;
4711+
function enumerate(target: any): IterableIterator<any>;
4712+
function get(target: any, propertyKey: PropertyKey, receiver?: any): any;
4713+
function getOwnPropertyDescriptor(target: any, propertyKey: PropertyKey): PropertyDescriptor;
4714+
function getPrototypeOf(target: any): any;
4715+
function has(target: any, propertyKey: string): boolean;
4716+
function has(target: any, propertyKey: symbol): boolean;
4717+
function isExtensible(target: any): boolean;
4718+
function ownKeys(target: any): Array<PropertyKey>;
4719+
function preventExtensions(target: any): boolean;
4720+
function set(target: any, propertyKey: PropertyKey, value: any, receiver? :any): boolean;
4721+
function setPrototypeOf(target: any, proto: any): boolean;
4722+
}
47234723

47244724
/**
47254725
* Represents the completion of an asynchronous operation

0 commit comments

Comments
 (0)