-
Notifications
You must be signed in to change notification settings - Fork 421
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
#1261: NodeListOf#item #1268
base: main
Are you sure you want to change the base?
#1261: NodeListOf#item #1268
Conversation
NodeListOf#item() misses `null` in return type
Thanks for the PR! This section of the codebase is owned by @saschanaz - if they write a comment saying "LGTM" then it will be merged. |
Thanks for helping. |
Oh I see, thanks for the pointer. Will take care. |
I think this is intentionally done to follow the current array indexing behavior. Also pinging @orta |
I understand that this will not be changed for array index due to the generic behaviour of TS. But it should be done "right" for explicit methods. At least it should be consistent across the interfaces BTW, how will the new method |
Hrm, yeah, looks like I was a bit gung ho in #1261 Yeah, |
fixes #1261
NodeListOf#item() misses
null
in return type