build: update to latest rules_typescript#27738
Conversation
|
You can preview d5b23eb at https://pr27738-d5b23eb.ngbuilds.io/. |
|
You can preview ae9e58f at https://pr27738-ae9e58f.ngbuilds.io/. |
|
You can preview 92d012b at https://pr27738-92d012b.ngbuilds.io/. |
|
You can preview fdacf0a at https://pr27738-fdacf0a.ngbuilds.io/. |
alxhub
left a comment
There was a problem hiding this comment.
Approving for the compiler side.
However, please check with @IgorMinar - my understanding was that es6-subset exists to limit that surface of ES2015 that we depend on to the bits supported by Closure.
There was a problem hiding this comment.
Maybe leave a comment here explaining why this is declared as a function. Alternatively, maybe the type of MetadataFactory could be modified to require a constructable type?
It should be nullable, matching the lib.es2015.d.ts from TypeScript
|
You can preview eaca317 at https://pr27738-eaca317.ngbuilds.io/. |
|
discussed with @IgorMinar yesterday, he agrees with removing the file. I don't think the original intent was Closure compat, it was to try to prevent Angular depending on a full ES2015 polyfill in old browsers. But now we no longer care about that, since no modern browser needs the polyfills. |
This changes our devmode to es2015, so we now depend on the full es2015 typings. Update a spot in the compiler which assumed es5 downleveling.
|
You can preview 3d06b7c at https://pr27738-3d06b7c.ngbuilds.io/. |
|
What about IE9? |
|
@alfaproject IE9 still needs polyfills - in practice I think we've always said to use the full es6-shim. To be precise, I should have said that the thing we no longer care about is making it possible to use a smaller subset of the polyfills with Angular. |
|
I guess Microsoft doesn't support any IE version except 11 anyway (not even security updates I think). |
Note that this allows Angular to depend on the entirety of the ES2015 API, not just our restricted subset. This change is needed because our copy of the subset was out-of-date, and prevents us using ES2015 target in dev mode. This is a subset of angular#27738
Note that this allows Angular to depend on the entirety of the ES2015 API, not just our restricted subset. This change is needed because our copy of the subset was out-of-date, and prevents us using ES2015 target in dev mode. This is a subset of angular#27738
|
Replaced by #28625 |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This changes our devmode to es2015, so we now depend on the full es2015 typings.
Update a spot in the compiler which assumed es5 downleveling.