Skip to content

Null safe corrections - #87

Open
adamlofts wants to merge 20 commits into
angulardart-community:angular-v8from
adamlofts:main
Open

Null safe corrections#87
adamlofts wants to merge 20 commits into
angulardart-community:angular-v8from
adamlofts:main

Conversation

@adamlofts

Copy link
Copy Markdown

A couple of places where values can be null.

GZGavinZhao and others added 20 commits April 8, 2023 09:12
…y/angular-v8

Bump to Angular v8 pre-release
requestAnimationFrame() callbacks are converted with .toJS, which needs the
parameter type written out; an inferred dynamic parameter is not a valid JS
function type. Type them `double`, and hoist the two callbacks in dom_service
into named local functions so theirs can be typed too.

dom_ruler passed classList.add/remove to forEach as tear-offs. Tear-offs of
external extension type interop members are disallowed, and it is a compile-
to-JS error rather than an analysis one, so use explicit loops.
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.

3 participants