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

refactor: use satisfies T when possible #423

Merged
merged 3 commits into from
Feb 7, 2025
Merged

refactor: use satisfies T when possible #423

merged 3 commits into from
Feb 7, 2025

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Feb 6, 2025

Use {} satisfies T when possible for better emitted types and safety and also {} as T instead of <T>{} for node stript type compatibility (marked as TODO to migrate to satisfies)

@pi0 pi0 merged commit 9e5cea8 into main Feb 7, 2025
2 checks passed
@pi0 pi0 deleted the refactor/export-syntax branch February 7, 2025 00:04
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.

1 participant