Fixed newlines, switched 'module' keyword to 'namespace'.

This commit is contained in:
Daniel Rosenwasser
2015-08-19 18:22:40 -07:00
parent fc39c4aa60
commit a55d531677

29
src/lib/es6.d.ts vendored
View File

@@ -885,7 +885,8 @@ interface Int8Array {
}
interface Int8ArrayConstructor {
new (elements: Iterable<number>): Int8Array;
new (elements: Iterable<number>): Int8Array;
/**
* Creates an array from an array-like or iterable object.
* @param arrayLike An array-like or iterable object to convert to an array.
@@ -916,7 +917,8 @@ interface Uint8Array {
}
interface Uint8ArrayConstructor {
interface Uint8ArrayConstructor {
new (elements: Iterable<number>): Uint8Array;
/**
* Creates an array from an array-like or iterable object.
* @param arrayLike An array-like or iterable object to convert to an array.
@@ -950,7 +952,8 @@ interface Uint8ClampedArray {
}
interface Uint8ClampedArrayConstructor {
new (elements: Iterable<number>): Uint8ClampedArray;
/**
* Creates an array from an array-like or iterable object.
@@ -986,7 +989,8 @@ interface Int16Array {
}
interface Int16ArrayConstructor {
}
new (elements: Iterable<number>): Int16Array;
/**
* Creates an array from an array-like or iterable object.
* @param arrayLike An array-like or iterable object to convert to an array.
@@ -1017,7 +1021,8 @@ interface Uint16Array {
}
interface Uint16ArrayConstructor {
[Symbol.iterator](): IterableIterator<number>;
new (elements: Iterable<number>): Uint16Array;
/**
* Creates an array from an array-like or iterable object.
* @param arrayLike An array-like or iterable object to convert to an array.
@@ -1048,7 +1053,8 @@ interface Int32Array {
}
interface Int32ArrayConstructor {
values(): IterableIterator<number>;
new (elements: Iterable<number>): Int32Array;
/**
* Creates an array from an array-like or iterable object.
* @param arrayLike An array-like or iterable object to convert to an array.
@@ -1079,7 +1085,8 @@ interface Uint32Array {
}
interface Uint32ArrayConstructor {
*/
new (elements: Iterable<number>): Uint32Array;
/**
* Creates an array from an array-like or iterable object.
* @param arrayLike An array-like or iterable object to convert to an array.
@@ -1110,7 +1117,8 @@ interface Float32Array {
}
interface Float32ArrayConstructor {
* Returns an list of values in the array
new (elements: Iterable<number>): Float32Array;
/**
* Creates an array from an array-like or iterable object.
* @param arrayLike An array-like or iterable object to convert to an array.
@@ -1141,7 +1149,8 @@ interface Float64Array {
}
interface Float64ArrayConstructor {
/**
new (elements: Iterable<number>): Float64Array;
/**
* Creates an array from an array-like or iterable object.
* @param arrayLike An array-like or iterable object to convert to an array.
@@ -1174,7 +1183,7 @@ interface ProxyConstructor {
}
declare var Proxy: ProxyConstructor;
construct? (target: T, thisArg: any, argArray?: any): any;
declare namespace Reflect {
function apply(target: Function, thisArgument: any, argumentsList: ArrayLike<any>): any;
function construct(target: Function, argumentsList: ArrayLike<any>, newTarget?: any): any;
function defineProperty(target: any, propertyKey: PropertyKey, attributes: PropertyDescriptor): boolean;