Merge branch 'master' into funcDeclsInBlocks
This commit is contained in:
commit
a163cb965c
10 changed files with 38572 additions and 9642 deletions
89
bin/lib.core.d.ts
vendored
89
bin/lib.core.d.ts
vendored
|
@ -124,10 +124,7 @@ interface Object {
|
|||
propertyIsEnumerable(v: string): boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides functionality common to all JavaScript objects.
|
||||
*/
|
||||
declare var Object: {
|
||||
interface ObjectConstructor {
|
||||
new (value?: any): Object;
|
||||
(): any;
|
||||
(value: any): any;
|
||||
|
@ -221,6 +218,11 @@ declare var Object: {
|
|||
keys(o: any): string[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides functionality common to all JavaScript objects.
|
||||
*/
|
||||
declare var Object: ObjectConstructor;
|
||||
|
||||
/**
|
||||
* Creates a new function.
|
||||
*/
|
||||
|
@ -255,8 +257,8 @@ interface Function {
|
|||
caller: Function;
|
||||
}
|
||||
|
||||
declare var Function: {
|
||||
/**
|
||||
interface FunctionConstructor {
|
||||
/**
|
||||
* Creates a new function.
|
||||
* @param args A list of arguments the function accepts.
|
||||
*/
|
||||
|
@ -265,6 +267,8 @@ declare var Function: {
|
|||
prototype: Function;
|
||||
}
|
||||
|
||||
declare var Function: FunctionConstructor;
|
||||
|
||||
interface IArguments {
|
||||
[index: number]: any;
|
||||
length: number;
|
||||
|
@ -424,24 +428,31 @@ interface String {
|
|||
[index: number]: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows manipulation and formatting of text strings and determination and location of substrings within strings.
|
||||
*/
|
||||
declare var String: {
|
||||
interface StringConstructor {
|
||||
new (value?: any): String;
|
||||
(value?: any): string;
|
||||
prototype: String;
|
||||
fromCharCode(...codes: number[]): string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows manipulation and formatting of text strings and determination and location of substrings within strings.
|
||||
*/
|
||||
declare var String: StringConstructor;
|
||||
|
||||
interface Boolean {
|
||||
/** Returns the primitive value of the specified object. */
|
||||
valueOf(): boolean;
|
||||
}
|
||||
declare var Boolean: {
|
||||
|
||||
interface BooleanConstructor {
|
||||
new (value?: any): Boolean;
|
||||
(value?: any): boolean;
|
||||
prototype: Boolean;
|
||||
}
|
||||
|
||||
declare var Boolean: BooleanConstructor;
|
||||
|
||||
interface Number {
|
||||
/**
|
||||
* Returns a string representation of an object.
|
||||
|
@ -468,8 +479,7 @@ interface Number {
|
|||
toPrecision(precision?: number): string;
|
||||
}
|
||||
|
||||
/** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */
|
||||
declare var Number: {
|
||||
interface NumberConstructor {
|
||||
new (value?: any): Number;
|
||||
(value?: any): number;
|
||||
prototype: Number;
|
||||
|
@ -499,6 +509,9 @@ declare var Number: {
|
|||
POSITIVE_INFINITY: number;
|
||||
}
|
||||
|
||||
/** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */
|
||||
declare var Number: NumberConstructor;
|
||||
|
||||
interface TemplateStringsArray extends Array<string> {
|
||||
raw: string[];
|
||||
}
|
||||
|
@ -768,7 +781,7 @@ interface Date {
|
|||
toJSON(key?: any): string;
|
||||
}
|
||||
|
||||
declare var Date: {
|
||||
interface DateConstructor {
|
||||
new (): Date;
|
||||
new (value: number): Date;
|
||||
new (value: string): Date;
|
||||
|
@ -794,6 +807,8 @@ declare var Date: {
|
|||
now(): number;
|
||||
}
|
||||
|
||||
declare var Date: DateConstructor;
|
||||
|
||||
interface RegExpMatchArray extends Array<string> {
|
||||
index?: number;
|
||||
input?: string;
|
||||
|
@ -834,9 +849,11 @@ interface RegExp {
|
|||
// Non-standard extensions
|
||||
compile(): RegExp;
|
||||
}
|
||||
declare var RegExp: {
|
||||
|
||||
interface RegExpConstructor {
|
||||
new (pattern: string, flags?: string): RegExp;
|
||||
(pattern: string, flags?: string): RegExp;
|
||||
prototype: RegExp;
|
||||
|
||||
// Non-standard extensions
|
||||
$1: string;
|
||||
|
@ -851,64 +868,87 @@ declare var RegExp: {
|
|||
lastMatch: string;
|
||||
}
|
||||
|
||||
declare var RegExp: RegExpConstructor;
|
||||
|
||||
interface Error {
|
||||
name: string;
|
||||
message: string;
|
||||
}
|
||||
declare var Error: {
|
||||
|
||||
interface ErrorConstructor {
|
||||
new (message?: string): Error;
|
||||
(message?: string): Error;
|
||||
prototype: Error;
|
||||
}
|
||||
|
||||
declare var Error: ErrorConstructor;
|
||||
|
||||
interface EvalError extends Error {
|
||||
}
|
||||
declare var EvalError: {
|
||||
|
||||
interface EvalErrorConstructor {
|
||||
new (message?: string): EvalError;
|
||||
(message?: string): EvalError;
|
||||
prototype: EvalError;
|
||||
}
|
||||
|
||||
declare var EvalError: EvalErrorConstructor;
|
||||
|
||||
interface RangeError extends Error {
|
||||
}
|
||||
declare var RangeError: {
|
||||
|
||||
interface RangeErrorConstructor {
|
||||
new (message?: string): RangeError;
|
||||
(message?: string): RangeError;
|
||||
prototype: RangeError;
|
||||
}
|
||||
|
||||
declare var RangeError: RangeErrorConstructor;
|
||||
|
||||
interface ReferenceError extends Error {
|
||||
}
|
||||
declare var ReferenceError: {
|
||||
|
||||
interface ReferenceErrorConstructor {
|
||||
new (message?: string): ReferenceError;
|
||||
(message?: string): ReferenceError;
|
||||
prototype: ReferenceError;
|
||||
}
|
||||
|
||||
declare var ReferenceError: ReferenceErrorConstructor;
|
||||
|
||||
interface SyntaxError extends Error {
|
||||
}
|
||||
declare var SyntaxError: {
|
||||
|
||||
interface SyntaxErrorConstructor {
|
||||
new (message?: string): SyntaxError;
|
||||
(message?: string): SyntaxError;
|
||||
prototype: SyntaxError;
|
||||
}
|
||||
|
||||
declare var SyntaxError: SyntaxErrorConstructor;
|
||||
|
||||
interface TypeError extends Error {
|
||||
}
|
||||
declare var TypeError: {
|
||||
|
||||
interface TypeErrorConstructor {
|
||||
new (message?: string): TypeError;
|
||||
(message?: string): TypeError;
|
||||
prototype: TypeError;
|
||||
}
|
||||
|
||||
declare var TypeError: TypeErrorConstructor;
|
||||
|
||||
interface URIError extends Error {
|
||||
}
|
||||
declare var URIError: {
|
||||
|
||||
interface URIErrorConstructor {
|
||||
new (message?: string): URIError;
|
||||
(message?: string): URIError;
|
||||
prototype: URIError;
|
||||
}
|
||||
|
||||
declare var URIError: URIErrorConstructor;
|
||||
|
||||
interface JSON {
|
||||
/**
|
||||
* Converts a JavaScript Object Notation (JSON) string into an object.
|
||||
|
@ -1111,7 +1151,8 @@ interface Array<T> {
|
|||
|
||||
[n: number]: T;
|
||||
}
|
||||
declare var Array: {
|
||||
|
||||
interface ArrayConstructor {
|
||||
new (arrayLength?: number): any[];
|
||||
new <T>(arrayLength: number): T[];
|
||||
new <T>(...items: T[]): T[];
|
||||
|
@ -1121,3 +1162,5 @@ declare var Array: {
|
|||
isArray(arg: any): boolean;
|
||||
prototype: Array<any>;
|
||||
}
|
||||
|
||||
declare var Array: ArrayConstructor;
|
||||
|
|
4803
bin/lib.core.es6.d.ts
vendored
Normal file
4803
bin/lib.core.es6.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load diff
98
bin/lib.d.ts
vendored
98
bin/lib.d.ts
vendored
|
@ -124,10 +124,7 @@ interface Object {
|
|||
propertyIsEnumerable(v: string): boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides functionality common to all JavaScript objects.
|
||||
*/
|
||||
declare var Object: {
|
||||
interface ObjectConstructor {
|
||||
new (value?: any): Object;
|
||||
(): any;
|
||||
(value: any): any;
|
||||
|
@ -221,6 +218,11 @@ declare var Object: {
|
|||
keys(o: any): string[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Provides functionality common to all JavaScript objects.
|
||||
*/
|
||||
declare var Object: ObjectConstructor;
|
||||
|
||||
/**
|
||||
* Creates a new function.
|
||||
*/
|
||||
|
@ -255,8 +257,8 @@ interface Function {
|
|||
caller: Function;
|
||||
}
|
||||
|
||||
declare var Function: {
|
||||
/**
|
||||
interface FunctionConstructor {
|
||||
/**
|
||||
* Creates a new function.
|
||||
* @param args A list of arguments the function accepts.
|
||||
*/
|
||||
|
@ -265,6 +267,8 @@ declare var Function: {
|
|||
prototype: Function;
|
||||
}
|
||||
|
||||
declare var Function: FunctionConstructor;
|
||||
|
||||
interface IArguments {
|
||||
[index: number]: any;
|
||||
length: number;
|
||||
|
@ -424,24 +428,31 @@ interface String {
|
|||
[index: number]: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows manipulation and formatting of text strings and determination and location of substrings within strings.
|
||||
*/
|
||||
declare var String: {
|
||||
interface StringConstructor {
|
||||
new (value?: any): String;
|
||||
(value?: any): string;
|
||||
prototype: String;
|
||||
fromCharCode(...codes: number[]): string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows manipulation and formatting of text strings and determination and location of substrings within strings.
|
||||
*/
|
||||
declare var String: StringConstructor;
|
||||
|
||||
interface Boolean {
|
||||
/** Returns the primitive value of the specified object. */
|
||||
valueOf(): boolean;
|
||||
}
|
||||
declare var Boolean: {
|
||||
|
||||
interface BooleanConstructor {
|
||||
new (value?: any): Boolean;
|
||||
(value?: any): boolean;
|
||||
prototype: Boolean;
|
||||
}
|
||||
|
||||
declare var Boolean: BooleanConstructor;
|
||||
|
||||
interface Number {
|
||||
/**
|
||||
* Returns a string representation of an object.
|
||||
|
@ -468,8 +479,7 @@ interface Number {
|
|||
toPrecision(precision?: number): string;
|
||||
}
|
||||
|
||||
/** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */
|
||||
declare var Number: {
|
||||
interface NumberConstructor {
|
||||
new (value?: any): Number;
|
||||
(value?: any): number;
|
||||
prototype: Number;
|
||||
|
@ -499,6 +509,9 @@ declare var Number: {
|
|||
POSITIVE_INFINITY: number;
|
||||
}
|
||||
|
||||
/** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */
|
||||
declare var Number: NumberConstructor;
|
||||
|
||||
interface TemplateStringsArray extends Array<string> {
|
||||
raw: string[];
|
||||
}
|
||||
|
@ -768,7 +781,7 @@ interface Date {
|
|||
toJSON(key?: any): string;
|
||||
}
|
||||
|
||||
declare var Date: {
|
||||
interface DateConstructor {
|
||||
new (): Date;
|
||||
new (value: number): Date;
|
||||
new (value: string): Date;
|
||||
|
@ -794,6 +807,8 @@ declare var Date: {
|
|||
now(): number;
|
||||
}
|
||||
|
||||
declare var Date: DateConstructor;
|
||||
|
||||
interface RegExpMatchArray extends Array<string> {
|
||||
index?: number;
|
||||
input?: string;
|
||||
|
@ -834,9 +849,11 @@ interface RegExp {
|
|||
// Non-standard extensions
|
||||
compile(): RegExp;
|
||||
}
|
||||
declare var RegExp: {
|
||||
|
||||
interface RegExpConstructor {
|
||||
new (pattern: string, flags?: string): RegExp;
|
||||
(pattern: string, flags?: string): RegExp;
|
||||
prototype: RegExp;
|
||||
|
||||
// Non-standard extensions
|
||||
$1: string;
|
||||
|
@ -851,64 +868,87 @@ declare var RegExp: {
|
|||
lastMatch: string;
|
||||
}
|
||||
|
||||
declare var RegExp: RegExpConstructor;
|
||||
|
||||
interface Error {
|
||||
name: string;
|
||||
message: string;
|
||||
}
|
||||
declare var Error: {
|
||||
|
||||
interface ErrorConstructor {
|
||||
new (message?: string): Error;
|
||||
(message?: string): Error;
|
||||
prototype: Error;
|
||||
}
|
||||
|
||||
declare var Error: ErrorConstructor;
|
||||
|
||||
interface EvalError extends Error {
|
||||
}
|
||||
declare var EvalError: {
|
||||
|
||||
interface EvalErrorConstructor {
|
||||
new (message?: string): EvalError;
|
||||
(message?: string): EvalError;
|
||||
prototype: EvalError;
|
||||
}
|
||||
|
||||
declare var EvalError: EvalErrorConstructor;
|
||||
|
||||
interface RangeError extends Error {
|
||||
}
|
||||
declare var RangeError: {
|
||||
|
||||
interface RangeErrorConstructor {
|
||||
new (message?: string): RangeError;
|
||||
(message?: string): RangeError;
|
||||
prototype: RangeError;
|
||||
}
|
||||
|
||||
declare var RangeError: RangeErrorConstructor;
|
||||
|
||||
interface ReferenceError extends Error {
|
||||
}
|
||||
declare var ReferenceError: {
|
||||
|
||||
interface ReferenceErrorConstructor {
|
||||
new (message?: string): ReferenceError;
|
||||
(message?: string): ReferenceError;
|
||||
prototype: ReferenceError;
|
||||
}
|
||||
|
||||
declare var ReferenceError: ReferenceErrorConstructor;
|
||||
|
||||
interface SyntaxError extends Error {
|
||||
}
|
||||
declare var SyntaxError: {
|
||||
|
||||
interface SyntaxErrorConstructor {
|
||||
new (message?: string): SyntaxError;
|
||||
(message?: string): SyntaxError;
|
||||
prototype: SyntaxError;
|
||||
}
|
||||
|
||||
declare var SyntaxError: SyntaxErrorConstructor;
|
||||
|
||||
interface TypeError extends Error {
|
||||
}
|
||||
declare var TypeError: {
|
||||
|
||||
interface TypeErrorConstructor {
|
||||
new (message?: string): TypeError;
|
||||
(message?: string): TypeError;
|
||||
prototype: TypeError;
|
||||
}
|
||||
|
||||
declare var TypeError: TypeErrorConstructor;
|
||||
|
||||
interface URIError extends Error {
|
||||
}
|
||||
declare var URIError: {
|
||||
|
||||
interface URIErrorConstructor {
|
||||
new (message?: string): URIError;
|
||||
(message?: string): URIError;
|
||||
prototype: URIError;
|
||||
}
|
||||
|
||||
declare var URIError: URIErrorConstructor;
|
||||
|
||||
interface JSON {
|
||||
/**
|
||||
* Converts a JavaScript Object Notation (JSON) string into an object.
|
||||
|
@ -1111,7 +1151,8 @@ interface Array<T> {
|
|||
|
||||
[n: number]: T;
|
||||
}
|
||||
declare var Array: {
|
||||
|
||||
interface ArrayConstructor {
|
||||
new (arrayLength?: number): any[];
|
||||
new <T>(arrayLength: number): T[];
|
||||
new <T>(...items: T[]): T[];
|
||||
|
@ -1122,6 +1163,8 @@ declare var Array: {
|
|||
prototype: Array<any>;
|
||||
}
|
||||
|
||||
declare var Array: ArrayConstructor;
|
||||
|
||||
/////////////////////////////
|
||||
/// IE10 ECMAScript Extensions
|
||||
/////////////////////////////
|
||||
|
@ -1489,7 +1532,7 @@ interface Uint32Array extends ArrayBufferView {
|
|||
set(array: number[], offset?: number): void;
|
||||
|
||||
/**
|
||||
* Gets a new Uint32Array view of the ArrayBuffer Object store for this array, specifying the first and last members of the subarray.
|
||||
* Gets a new Int8Array view of the ArrayBuffer Object store for this array, specifying the first and last members of the subarray.
|
||||
* @param begin The index of the beginning of the array.
|
||||
* @param end The index of the end of the array.
|
||||
*/
|
||||
|
@ -1754,6 +1797,7 @@ interface Map<K, V> {
|
|||
}
|
||||
declare var Map: {
|
||||
new <K, V>(): Map<K, V>;
|
||||
prototype: Map<any, any>;
|
||||
}
|
||||
|
||||
interface WeakMap<K, V> {
|
||||
|
@ -1765,6 +1809,7 @@ interface WeakMap<K, V> {
|
|||
}
|
||||
declare var WeakMap: {
|
||||
new <K, V>(): WeakMap<K, V>;
|
||||
prototype: WeakMap<any, any>;
|
||||
}
|
||||
|
||||
interface Set<T> {
|
||||
|
@ -1777,10 +1822,13 @@ interface Set<T> {
|
|||
}
|
||||
declare var Set: {
|
||||
new <T>(): Set<T>;
|
||||
prototype: Set<any>;
|
||||
}
|
||||
/////////////////////////////
|
||||
/// ECMAScript Internationalization API
|
||||
/////////////////////////////
|
||||
|
||||
declare module Intl {
|
||||
|
||||
interface CollatorOptions {
|
||||
usage?: string;
|
||||
localeMatcher?: string;
|
||||
|
|
7
bin/lib.dom.d.ts
vendored
7
bin/lib.dom.d.ts
vendored
|
@ -647,6 +647,7 @@ interface Map<K, V> {
|
|||
}
|
||||
declare var Map: {
|
||||
new <K, V>(): Map<K, V>;
|
||||
prototype: Map<any, any>;
|
||||
}
|
||||
|
||||
interface WeakMap<K, V> {
|
||||
|
@ -658,6 +659,7 @@ interface WeakMap<K, V> {
|
|||
}
|
||||
declare var WeakMap: {
|
||||
new <K, V>(): WeakMap<K, V>;
|
||||
prototype: WeakMap<any, any>;
|
||||
}
|
||||
|
||||
interface Set<T> {
|
||||
|
@ -670,10 +672,13 @@ interface Set<T> {
|
|||
}
|
||||
declare var Set: {
|
||||
new <T>(): Set<T>;
|
||||
prototype: Set<any>;
|
||||
}
|
||||
/////////////////////////////
|
||||
/// ECMAScript Internationalization API
|
||||
/////////////////////////////
|
||||
|
||||
declare module Intl {
|
||||
|
||||
interface CollatorOptions {
|
||||
usage?: string;
|
||||
localeMatcher?: string;
|
||||
|
|
17197
bin/lib.es6.d.ts
vendored
Normal file
17197
bin/lib.es6.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load diff
7
bin/lib.webworker.d.ts
vendored
7
bin/lib.webworker.d.ts
vendored
|
@ -647,6 +647,7 @@ interface Map<K, V> {
|
|||
}
|
||||
declare var Map: {
|
||||
new <K, V>(): Map<K, V>;
|
||||
prototype: Map<any, any>;
|
||||
}
|
||||
|
||||
interface WeakMap<K, V> {
|
||||
|
@ -658,6 +659,7 @@ interface WeakMap<K, V> {
|
|||
}
|
||||
declare var WeakMap: {
|
||||
new <K, V>(): WeakMap<K, V>;
|
||||
prototype: WeakMap<any, any>;
|
||||
}
|
||||
|
||||
interface Set<T> {
|
||||
|
@ -670,10 +672,13 @@ interface Set<T> {
|
|||
}
|
||||
declare var Set: {
|
||||
new <T>(): Set<T>;
|
||||
prototype: Set<any>;
|
||||
}
|
||||
/////////////////////////////
|
||||
/// ECMAScript Internationalization API
|
||||
/////////////////////////////
|
||||
|
||||
declare module Intl {
|
||||
|
||||
interface CollatorOptions {
|
||||
usage?: string;
|
||||
localeMatcher?: string;
|
||||
|
|
9393
bin/tsc.js
9393
bin/tsc.js
File diff suppressed because it is too large
Load diff
1878
bin/typescript.d.ts
vendored
Normal file
1878
bin/typescript.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load diff
1878
bin/typescriptServices.d.ts
vendored
Normal file
1878
bin/typescriptServices.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue