Skip to content

Go back to the old spelling of Intl's NumberFormatPartTypes to not break DT #45889

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 1 commit into from
Sep 15, 2021

Conversation

orta
Copy link
Contributor

@orta orta commented Sep 15, 2021

Hah, sigh - in #45820 I added back the type NumberFormatPartType for DT libraries, but it was actually typoed in the original as NumberFormatPartTypes and I didn't respect that. I debated a bit between making a duplicate type with @deprecated, but realistically at this point I think it's pretty much set and there's not really much need to change it.

See DT logs: https://dev.azure.com/definitelytyped/DefinitelyTyped/_build/results?buildId=110080&view=logs&j=8635df7d-ecde-52a7-c7a8-84b998e35690&t=c264d665-0b79-59b7-7e04-9965cbe74860

node_modules/@formatjs/intl-unified-numberformat/lib/intl-unified-numberformat.d.ts(83,57): error TS2724: 'Intl' has no exported member named 'NumberFormatPartTypes'. Did you mean 'NumberFormatPartType'?

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Sep 15, 2021
@orta orta merged commit 7cba519 into microsoft:main Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants