Open kevinbarabash opened 5 months ago
Given the following interface:
interface ArrayConstructor { new (arrayLength?: number): any[]; new <T>(arrayLength: number): T[]; new <T>(...items: T[]): T[]; (arrayLength?: number): any[]; <T>(arrayLength: number): T[]; <T>(...items: T[]): T[]; isArray(arg: any): arg is any[]; readonly prototype: any[]; }
the following Escalier code
let mut a = new Array<number>(); a.push(5);
results in a having type _[].
a
_[]
Given the following interface:
the following Escalier code
results in
a
having type_[]
.