Skip to content

change DataTransfer.types property from DOMStringList to string[] #148

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

Merged
merged 2 commits into from
Sep 29, 2016

Conversation

YuichiNukiyama
Copy link
Contributor

fix #10979

Copy link
Contributor

@mhegazy mhegazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say the correct fix is to add a mapping from DOMStringList => string[] in https://github.com/Microsoft/TSJS-lib-generator/blob/master/TS.fsx#L30, just like we do with DOMString => string. this way other types will get it correctly as well.

@YuichiNukiyama
Copy link
Contributor Author

I see. I change all DOMStringList to string[].

@mhegazy mhegazy merged commit 09dfad2 into microsoft:master Sep 29, 2016
@YuichiNukiyama YuichiNukiyama deleted the fix10974 branch September 29, 2016 21:34
@Artazor
Copy link

Artazor commented Jan 3, 2017

@mhegazy please check! DataTransfer.types is still string[] - something nasty happened on merge. Commit 09dfad2 has disappeared both from release-2.1 and master (thus in npm we have a TS with bug)

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

Successfully merging this pull request may close these issues.

DataTransfer.types type incorrect (or maybe just incomplete).
4 participants