Skip to content

Conversation

@JLarky
Copy link
Contributor

@JLarky JLarky commented Oct 31, 2022

problem with doing "as X" is that it doesn't only typecast you out of undefined, but it has the potential of changing the type completely (that's why new versions of TS have "satisfies" keyword).

problem with doing "as X" is that it doesn't only typecast you out of undefined, but it has the potential of changing the type completely (that's why new versions of TS have "satisfies" keyword).
@egoist egoist merged commit 0b18e9e into egoist:main Oct 31, 2022
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