-
-
Notifications
You must be signed in to change notification settings - Fork 166
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
feat: Implement property access about non-primitive constraints of IAT #1067
Conversation
Thank you for the PR! Files to checkThese are files which is affected by the current PR, but not reflected. If there's no file below this message, please ignore this message. You can run
|
I can't help but feel like I'm approaching this the wrong way. TypeParam can't be keyofed beforehand because when it receives an argument value, it receives a value that inherits the constraints. But in some cases it does Why??? |
crates/stc_ts_type_checker/tests/conformance/types/keyof/keyofAndIndexedAccess.error-diff.json
Outdated
Show resolved
Hide resolved
...s/stc_ts_type_checker/tests/conformance/types/mapped/mappedTypeRelationships.error-diff.json
Outdated
Show resolved
Hide resolved
c2bbf7b
to
da8563b
Compare
Description:
BREAKING CHANGE:
Related issue (if exists):
#1063
status
parse().unwrap()
at generic inference #1070T[keyof T] = U[keyof T] | undefined
,U[keyof T] | undefined = T[keyof T]
)undefined
#1073