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

Re-add strict concat signature
This commit is contained in:
Nathan Shively-Sanders authored and GitHub committed 2016-08-02 11:06:18 -07:00
commit 4a470bd27c
19 files changed
+88 -40

No files matched your search

+5
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.