Skip to content

update FormData interface on lib.d.ts #1592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

update FormData interface on lib.d.ts #1592

wants to merge 1 commit into from

Conversation

Jxck
Copy link

@Jxck Jxck commented Jan 5, 2015

complete FormData interface definition based on spec below.
https://xhr.spec.whatwg.org/#formdata

FYI, after tsc 1.4, it seems need to be update using USVString or FormDataEntryValue
instead of string or any.

complete FormData interface definition based on spec below.
https://xhr.spec.whatwg.org/#formdata

FYI, after tsc 1.4, it seems need to be update using USVString or FormDataEntryValue
instead of string or any.
@mhegazy
Copy link
Contributor

mhegazy commented Jan 8, 2015

Thanks for the PR, and sorry for the late reply. This file is a result of a build, so in general you do not want to change the files in bin without changing the sources that generated them, as the next update to bin from a build will overwrite the changes.

The source file contributing the FormData definition is src\lib\dom.generated.d.ts. This file is as well auto generated. We generated the dom from IE's dom specifications. this makes it really easy for us to generated updated dom definitions. but it also makes it hard for hand editing it. we are looking into changing the process and making this file generated from a webidl definitions. this is however not in the immediate plan.

Is there an issue for the original issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants