mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Allow static side of native types to be extended
This commit is contained in:
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user