Skip to content

Rename FileReader.readAsText second parameter from 'label' to 'encoding' #26874

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

Conversation

chozzz
Copy link
Contributor

@chozzz chozzz commented Sep 4, 2018

Fixes #25797

Note that files in lib/[dom|webworker].generated.ts are not modified.

Copy link
Member

@RyanCavanaugh RyanCavanaugh left a comment

Choose a reason for hiding this comment

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

Changes should be made in src/lib, not lib/

@RyanCavanaugh RyanCavanaugh added this to the Community milestone Sep 17, 2018
@chozzz chozzz force-pushed the fix-filereader-readastext-second-parameter-naming branch from 3dab79b to c00df4c Compare October 6, 2018 12:39
@chozzz
Copy link
Contributor Author

chozzz commented Oct 6, 2018

@RyanCavanaugh My bad 8( - Fixed in the latest commit.

@blixt
Copy link

blixt commented Oct 16, 2018

This PR is open to fix this issue: microsoft/TypeScript-DOM-lib-generator#536

Note that I had also attempted to make this change in this repo but was directed to make the change in TSJS-lib-generator: #25798

Unfortunately the PR is still stuck in review after 3 months. Even getting the W3C to change the parameter name used in the standard was a lot faster.

@RyanCavanaugh
Copy link
Member

Fixed in linked repo

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.

3 participants