TypeScript Version: 2.2.1
Code
// A *self-contained* demonstration of the problem follows...
declare class HTMLCanvasElement {
toBlob(callback: (result: Blob | null) => void, type?: string, ...arguments: any[]): void;
}
Expected behavior: The name arguments on ambient class declarations does not really do anything, it should just be allowed.
Actual behavior: This is blocked.
TypeScript Version: 2.2.1
Code
Expected behavior: The name
argumentson ambient class declarations does not really do anything, it should just be allowed.Actual behavior: This is blocked.