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(Listener): fixed compile issues on TS 4.5 #329

Merged
merged 3 commits into from
Nov 21, 2021

Conversation

favna
Copy link
Member

@favna favna commented Nov 21, 2021

This is a backport from the fix applied in origin/trifecta-of-question-marks

TS 4.5 no longer lets us compile @sapphire/framework when we have this generic
the way we used to have it. Seeing as we have plans to fully remove the generic
anyway in the next major release, we'll partially remove it for now by not reading
it anywhere in the code, and having it extend `any`.
@favna favna force-pushed the fix/fixed-ts-4.5-compatibility branch from 197a445 to f58fb39 Compare November 21, 2021 13:19
@favna favna changed the title fix(Listener): deprecate event generic for Listener class fix(Listener): fixed compile issues on TS 4.5 Nov 21, 2021
@favna favna merged commit cb40369 into main Nov 21, 2021
@favna favna deleted the fix/fixed-ts-4.5-compatibility branch November 21, 2021 13:43
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.

2 participants