Skip to content
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

fix(utilities): rename Awaited<T> to Awaitable<T> #193

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

kyranet
Copy link
Member

@kyranet kyranet commented Oct 4, 2021

With https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/, we'll eventually run into a name conflict between the built-in Awaited<T> type, and our type.

This PR fixes the conflict by renaming our type to Awaitable<T>

@favna favna changed the title types: rename Awaited<T> to Awaitable<T> fix(utilities): rename Awaited<T> to Awaitable<T> Oct 4, 2021
@favna favna merged commit 6ff3e28 into main Oct 4, 2021
@favna favna deleted the types/rename-awaited-type branch October 4, 2021 19:10
favna added a commit to sapphiredev/framework that referenced this pull request Oct 4, 2021
This matches the change made in
sapphiredev/utilities#193

BREAKING CHANGE: `Awaited` type has been renamed to `Awaitable`
favna added a commit to sapphiredev/pieces that referenced this pull request Oct 4, 2021
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.

None yet

3 participants