Merge pull request #9997 from Microsoft/re-add-strict-concat-signature

Re-add strict concat signature
This commit is contained in:
Nathan Shively-Sanders
2016-08-02 11:06:18 -07:00
committed by GitHub
19 changed files with 88 additions and 40 deletions

5
src/lib/es5.d.ts vendored
View File

@@ -1108,6 +1108,11 @@ interface Array<T> {
* Removes the last element from an array and returns it.
*/
pop(): T | undefined;
/**
* Combines two or more arrays.
* @param items Additional items to add to the end of array1.
*/
concat(...items: T[][]): T[];
/**
* Combines two or more arrays.
* @param items Additional items to add to the end of array1.