You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hopefully this can be fixed soon, as out-of-the-box I get a "Supplied parameters do not match any signature of call target" error when attempting to instantiate FormData with a form element.
I was able to work around the issue with the following code:
interfaceFixedFormData{prototype: FormData;new(form?: HTMLFormElement): FormData;}varFixedFormData: FixedFormData=FormData;varformData=newFixedFormData(form);// no more error
Activity
theodorejb commentedon Jan 27, 2015
Hopefully this can be fixed soon, as out-of-the-box I get a "Supplied parameters do not match any signature of call target" error when attempting to instantiate
FormDatawith a form element.I was able to work around the issue with the following code:
agr commentedon May 8, 2015
So, 1.5 is still in beta, and there is no way we get it until 1.6?
danquirk commentedon May 8, 2015
You can easily change/augment lib.d.ts yourself as necessary until the fix is in a version you can upgrade to.
mhegazy commentedon May 18, 2015
Andrei Grigorev (@agr) once it is fixed you can just grab the latest lib file from: https://github.com/Microsoft/TypeScript/blob/master/bin/lib.d.ts and explicitly include it in your project.
agr commentedon Jul 10, 2015
Hopefully it's the final fix :)