Allow static side of native types to be extended

This commit is contained in:
Mohamed Hegazy
2014-10-28 21:21:47 -07:00
parent 8c7fd3c287
commit fe4a96e1bd
46 changed files with 207 additions and 167 deletions
@@ -1,4 +1,4 @@
declare class ArrayConstructor<T> implements Array<T> {
declare class MyArray<T> implements Array<T> {
toString(): string;
toLocaleString(): string;
concat<U extends T[]>(...items: U[]): T[];