Skip to content

Commit

Permalink
LKG update for 3.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanCavanaugh committed Mar 27, 2019
1 parent f0188c1 commit 99e4865
Show file tree
Hide file tree
Showing 11 changed files with 2,266 additions and 1,318 deletions.
60 changes: 30 additions & 30 deletions lib/lib.es5.d.ts
Expand Up @@ -22,8 +22,8 @@ and limitations under the License.
/// ECMAScript APIs
/////////////////////////////

declare const NaN: number;
declare const Infinity: number;
declare var NaN: number;
declare var Infinity: number;

/**
* Evaluates JavaScript code and executes it.
Expand Down Expand Up @@ -264,7 +264,7 @@ interface ObjectConstructor {
/**
* Provides functionality common to all JavaScript objects.
*/
declare const Object: ObjectConstructor;
declare var Object: ObjectConstructor;

/**
* Creates a new function.
Expand Down Expand Up @@ -313,7 +313,7 @@ interface FunctionConstructor {
readonly prototype: Function;
}

declare const Function: FunctionConstructor;
declare var Function: FunctionConstructor;

/**
* Extracts the type of the 'this' parameter of a function type, or 'unknown' if the function type has no 'this' parameter.
Expand Down Expand Up @@ -524,7 +524,7 @@ interface StringConstructor {
/**
* Allows manipulation and formatting of text strings and determination and location of substrings within strings.
*/
declare const String: StringConstructor;
declare var String: StringConstructor;

interface Boolean {
/** Returns the primitive value of the specified object. */
Expand All @@ -537,7 +537,7 @@ interface BooleanConstructor {
readonly prototype: Boolean;
}

declare const Boolean: BooleanConstructor;
declare var Boolean: BooleanConstructor;

interface Number {
/**
Expand Down Expand Up @@ -599,7 +599,7 @@ interface NumberConstructor {
}

/** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */
declare const Number: NumberConstructor;
declare var Number: NumberConstructor;

interface TemplateStringsArray extends ReadonlyArray<string> {
readonly raw: ReadonlyArray<string>;
Expand Down Expand Up @@ -723,7 +723,7 @@ interface Math {
tan(x: number): number;
}
/** An intrinsic object that provides basic mathematics functionality and constants. */
declare const Math: Math;
declare var Math: Math;

/** Enables basic storage and retrieval of dates and times. */
interface Date {
Expand Down Expand Up @@ -904,7 +904,7 @@ interface DateConstructor {
now(): number;
}

declare const Date: DateConstructor;
declare var Date: DateConstructor;

interface RegExpMatchArray extends Array<string> {
index?: number;
Expand Down Expand Up @@ -967,7 +967,7 @@ interface RegExpConstructor {
lastMatch: string;
}

declare const RegExp: RegExpConstructor;
declare var RegExp: RegExpConstructor;

interface Error {
name: string;
Expand All @@ -981,7 +981,7 @@ interface ErrorConstructor {
readonly prototype: Error;
}

declare const Error: ErrorConstructor;
declare var Error: ErrorConstructor;

interface EvalError extends Error {
}
Expand All @@ -992,7 +992,7 @@ interface EvalErrorConstructor {
readonly prototype: EvalError;
}

declare const EvalError: EvalErrorConstructor;
declare var EvalError: EvalErrorConstructor;

interface RangeError extends Error {
}
Expand All @@ -1003,7 +1003,7 @@ interface RangeErrorConstructor {
readonly prototype: RangeError;
}

declare const RangeError: RangeErrorConstructor;
declare var RangeError: RangeErrorConstructor;

interface ReferenceError extends Error {
}
Expand All @@ -1014,7 +1014,7 @@ interface ReferenceErrorConstructor {
readonly prototype: ReferenceError;
}

declare const ReferenceError: ReferenceErrorConstructor;
declare var ReferenceError: ReferenceErrorConstructor;

interface SyntaxError extends Error {
}
Expand All @@ -1025,7 +1025,7 @@ interface SyntaxErrorConstructor {
readonly prototype: SyntaxError;
}

declare const SyntaxError: SyntaxErrorConstructor;
declare var SyntaxError: SyntaxErrorConstructor;

interface TypeError extends Error {
}
Expand All @@ -1036,7 +1036,7 @@ interface TypeErrorConstructor {
readonly prototype: TypeError;
}

declare const TypeError: TypeErrorConstructor;
declare var TypeError: TypeErrorConstructor;

interface URIError extends Error {
}
Expand All @@ -1047,7 +1047,7 @@ interface URIErrorConstructor {
readonly prototype: URIError;
}

declare const URIError: URIErrorConstructor;
declare var URIError: URIErrorConstructor;

interface JSON {
/**
Expand Down Expand Up @@ -1076,7 +1076,7 @@ interface JSON {
/**
* An intrinsic object that provides functions to convert JavaScript values to and from the JavaScript Object Notation (JSON) format.
*/
declare const JSON: JSON;
declare var JSON: JSON;


/////////////////////////////
Expand Down Expand Up @@ -1365,7 +1365,7 @@ interface ArrayConstructor {
readonly prototype: Array<any>;
}

declare const Array: ArrayConstructor;
declare var Array: ArrayConstructor;

interface TypedPropertyDescriptor<T> {
enumerable?: boolean;
Expand Down Expand Up @@ -1524,7 +1524,7 @@ interface ArrayBufferConstructor {
new(byteLength: number): ArrayBuffer;
isView(arg: any): arg is ArrayBufferView;
}
declare const ArrayBuffer: ArrayBufferConstructor;
declare var ArrayBuffer: ArrayBufferConstructor;

interface ArrayBufferView {
/**
Expand Down Expand Up @@ -1674,7 +1674,7 @@ interface DataView {
interface DataViewConstructor {
new(buffer: ArrayBufferLike, byteOffset?: number, byteLength?: number): DataView;
}
declare const DataView: DataViewConstructor;
declare var DataView: DataViewConstructor;

/**
* A typed array of 8-bit integer values. The contents are initialized to 0. If the requested
Expand Down Expand Up @@ -1949,7 +1949,7 @@ interface Int8ArrayConstructor {


}
declare const Int8Array: Int8ArrayConstructor;
declare var Int8Array: Int8ArrayConstructor;

/**
* A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the
Expand Down Expand Up @@ -2224,7 +2224,7 @@ interface Uint8ArrayConstructor {
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array;

}
declare const Uint8Array: Uint8ArrayConstructor;
declare var Uint8Array: Uint8ArrayConstructor;

/**
* A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.
Expand Down Expand Up @@ -2498,7 +2498,7 @@ interface Uint8ClampedArrayConstructor {
*/
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray;
}
declare const Uint8ClampedArray: Uint8ClampedArrayConstructor;
declare var Uint8ClampedArray: Uint8ClampedArrayConstructor;

/**
* A typed array of 16-bit signed integer values. The contents are initialized to 0. If the
Expand Down Expand Up @@ -2773,7 +2773,7 @@ interface Int16ArrayConstructor {


}
declare const Int16Array: Int16ArrayConstructor;
declare var Int16Array: Int16ArrayConstructor;

/**
* A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the
Expand Down Expand Up @@ -3049,7 +3049,7 @@ interface Uint16ArrayConstructor {


}
declare const Uint16Array: Uint16ArrayConstructor;
declare var Uint16Array: Uint16ArrayConstructor;
/**
* A typed array of 32-bit signed integer values. The contents are initialized to 0. If the
* requested number of bytes could not be allocated an exception is raised.
Expand Down Expand Up @@ -3323,7 +3323,7 @@ interface Int32ArrayConstructor {
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array;

}
declare const Int32Array: Int32ArrayConstructor;
declare var Int32Array: Int32ArrayConstructor;

/**
* A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the
Expand Down Expand Up @@ -3597,7 +3597,7 @@ interface Uint32ArrayConstructor {
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array;

}
declare const Uint32Array: Uint32ArrayConstructor;
declare var Uint32Array: Uint32ArrayConstructor;

/**
* A typed array of 32-bit float values. The contents are initialized to 0. If the requested number
Expand Down Expand Up @@ -3873,7 +3873,7 @@ interface Float32ArrayConstructor {


}
declare const Float32Array: Float32ArrayConstructor;
declare var Float32Array: Float32ArrayConstructor;

/**
* A typed array of 64-bit float values. The contents are initialized to 0. If the requested
Expand Down Expand Up @@ -4148,7 +4148,7 @@ interface Float64ArrayConstructor {
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array;

}
declare const Float64Array: Float64ArrayConstructor;
declare var Float64Array: Float64ArrayConstructor;

/////////////////////////////
/// ECMAScript Internationalization API
Expand Down
8 changes: 4 additions & 4 deletions lib/lib.esnext.bigint.d.ts
Expand Up @@ -54,7 +54,7 @@ interface BigIntConstructor {
asUintN(bits: number, int: bigint): bigint;
}

declare const BigInt: BigIntConstructor;
declare var BigInt: BigIntConstructor;

/**
* A typed array of 64-bit signed integer values. The contents are initialized to 0. If the
Expand Down Expand Up @@ -323,7 +323,7 @@ interface BigInt64ArrayConstructor {
from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array;
}

declare const BigInt64Array: BigInt64ArrayConstructor;
declare var BigInt64Array: BigInt64ArrayConstructor;

/**
* A typed array of 64-bit unsigned integer values. The contents are initialized to 0. If the
Expand Down Expand Up @@ -592,7 +592,7 @@ interface BigUint64ArrayConstructor {
from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array;
}

declare const BigUint64Array: BigUint64ArrayConstructor;
declare var BigUint64Array: BigUint64ArrayConstructor;

interface DataView {
/**
Expand Down Expand Up @@ -626,4 +626,4 @@ interface DataView {
* otherwise a little-endian value should be written.
*/
setBigUint64(byteOffset: number, value: bigint, littleEndian?: boolean): void;
}
}

0 comments on commit 99e4865

Please sign in to comment.