GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build: upgrade to TypeScript 2.7 by IgorMinar · Pull Request #22669 · angular/angular

Conversation

@IgorMinar

@IgorMinar IgorMinar commented Mar 9, 2018

Copy link
Copy Markdown
Contributor

Fixes: #21571
Closes: #22097

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

alan-agius4 and splincode reacted with heart emoji
All reactions
  • ❤️ 2 reactions
@googlebot googlebot added the cla: yes label Mar 9, 2018
@mary-poppins

mary-poppins commented Mar 9, 2018

Copy link
Copy Markdown

You can preview 888b55b at https://pr22669-888b55b.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mary-poppins

mary-poppins commented Mar 9, 2018

Copy link
Copy Markdown

You can preview 589c2c8 at https://pr22669-589c2c8.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mary-poppins

mary-poppins commented Mar 9, 2018

Copy link
Copy Markdown

You can preview 141d8a6 at https://pr22669-141d8a6.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@IgorMinar
IgorMinar force-pushed the pr/22097-typescript-2.7 branch from 141d8a6 to 2114b20 Compare March 9, 2018 04:57
@mary-poppins

mary-poppins commented Mar 9, 2018

Copy link
Copy Markdown

You can preview 2114b20 at https://pr22669-2114b20.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mary-poppins

mary-poppins commented Mar 9, 2018

Copy link
Copy Markdown

You can preview 2ea77b9 at https://pr22669-2ea77b9.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mary-poppins

mary-poppins commented Mar 9, 2018

Copy link
Copy Markdown

You can preview a8b7a9d at https://pr22669-a8b7a9d.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mary-poppins

mary-poppins commented Mar 9, 2018

Copy link
Copy Markdown

You can preview d3a99d8 at https://pr22669-d3a99d8.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@IgorMinar
IgorMinar force-pushed the pr/22097-typescript-2.7 branch from d3a99d8 to 2027ec8 Compare March 9, 2018 18:01
@mary-poppins

mary-poppins commented Mar 9, 2018

Copy link
Copy Markdown

You can preview 2027ec8 at https://pr22669-2027ec8.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kara kara added type: bug/fix area: build & ci Related the build and CI infrastructure of the project refactoring Issue that involves refactoring or code-cleanup and removed type: bug/fix labels Mar 9, 2018
@IgorMinar
IgorMinar force-pushed the pr/22097-typescript-2.7 branch from 2027ec8 to f47bace Compare March 10, 2018 00:40
@mary-poppins

mary-poppins commented Mar 10, 2018

Copy link
Copy Markdown

You can preview f47bace at https://pr22669-f47bace.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mary-poppins

mary-poppins commented Mar 10, 2018

Copy link
Copy Markdown

You can preview 5ede4a7 at https://pr22669-5ede4a7.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mary-poppins

mary-poppins commented Mar 10, 2018

Copy link
Copy Markdown

You can preview 78a1998 at https://pr22669-78a1998.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@IgorMinar
IgorMinar force-pushed the pr/22097-typescript-2.7 branch from 78a1998 to 0956037 Compare March 10, 2018 02:36
@mary-poppins

mary-poppins commented Mar 10, 2018

Copy link
Copy Markdown

You can preview 0956037 at https://pr22669-0956037.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@IgorMinar
IgorMinar force-pushed the pr/22097-typescript-2.7 branch from 23ae723 to 780ca3e Compare March 10, 2018 05:02
@mary-poppins

mary-poppins commented Mar 10, 2018

Copy link
Copy Markdown

You can preview 23ae723 at https://pr22669-23ae723.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mary-poppins

mary-poppins commented Mar 10, 2018

Copy link
Copy Markdown

You can preview 780ca3e at https://pr22669-780ca3e.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@IgorMinar
IgorMinar force-pushed the pr/22097-typescript-2.7 branch 2 times, most recently from e9e4963 to c4eca74 Compare March 10, 2018 05:42
@mary-poppins

mary-poppins commented Mar 10, 2018

Copy link
Copy Markdown

You can preview e9e4963 at https://pr22669-e9e4963.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mary-poppins

mary-poppins commented Mar 10, 2018

Copy link
Copy Markdown

You can preview c4eca74 at https://pr22669-c4eca74.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@IgorMinar
IgorMinar force-pushed the pr/22097-typescript-2.7 branch from c4eca74 to 783eb01 Compare March 10, 2018 06:17
@mary-poppins

mary-poppins commented Mar 10, 2018

Copy link
Copy Markdown

You can preview 783eb01 at https://pr22669-783eb01.ngbuilds.io/.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@IgorMinar IgorMinar added the target: major This PR is targeted for the next major release label Mar 11, 2018
@IgorMinar

IgorMinar commented Mar 12, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Caretaker note: TAP is now passing but I can't push the commit status to this PR right now! https://test.corp.google.com/ui#id=OCL:188670023:BASE:188670926:1520822633851:ceb2701a

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

alexeagle
alexeagle approved these changes Mar 12, 2018
View reviewed changes
Comment thread packages/core/testing/src/render3.ts
if (typeof blockFn === 'function') {
document.body.innerHTML = html;
let blockReturn = blockFn();
// TODO(i): I'm not sure why a cast is required here but otherwise I get

@alexeagle alexeagle Mar 12, 2018

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mean to replace (i) with something else?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/service-worker/worker/testing/fetch.ts

constructor(input: string|Request, init: RequestInit = {}) {
super(init !== undefined ? init.body || null : null);
super(init !== undefined ? (init.body as(string | null)) || null : null);

@alexeagle alexeagle Mar 12, 2018

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do some of these casts need TODOs?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@IgorMinar IgorMinar Mar 12, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the casts to any should be eventually removed, but I'd rather add a tslint rule to fend those off than more todos.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/core/src/render3/interfaces/definition.ts
* Factory method used to create an instance of directive.
*/
factory: () => T | [T];
factory: () => T | ({0: T} & any[]); /* trying to say T | [T, ...any] */

@alexeagle alexeagle Mar 12, 2018

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@IgorMinar IgorMinar added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 12, 2018
@kara kara closed this in 129d1e0 Mar 12, 2018
kara pushed a commit that referenced this pull request Mar 12, 2018
@IgorMinar @kara
build: introduce a temporary patch to make node_modules/rxjs compile …
a225b48
…with typescript 2.7 (#22669)

This patch can be removed once we update to rxjs v6. See #22573.

PR Close #22669
kara pushed a commit that referenced this pull request Mar 12, 2018
@chuckjaz @kara
build: upgrade to TypeScript 2.7 (#22669)
8449eb8
Fixes: #21571

PR Close #22669
kara pushed a commit that referenced this pull request Mar 12, 2018
@IgorMinar @kara
feat(compiler-cli): require node 8 as runtime engine (#22669)
c602563
This is not expected to be a breaking change for anyone who's on Node LTS (currently v8)
and aligns @angular/compilar-cli with @angular/cli's runtime requirements.

PR Close #22669
kara pushed a commit that referenced this pull request Mar 12, 2018
@IgorMinar @kara
build: switch from uglify-js to uglify-es (#22669)
eb6fb2d
This enables us to minify ES2015 code.

PR Close #22669
kara pushed a commit that referenced this pull request Mar 12, 2018
@IgorMinar @kara
fix(compiler-cli): disableTypeScriptVersionCheck should be applied ev…
3f70aba
…en for older tsc versions (#22669)

Previously the flag would only disable the check in the case we tried to use newer tsc version.

In g3 we sometimes take a while to update tsc, but as a prerequisite of that Angular needs to be
updated first. This change enables us to update Angular and use it in g3 while g3 is being update
to the required tsc. Of course extra care is required when this check is disabled, but since we
control everything in g3, it's on us to get this right.

I don't see any preexisting tests for this, and I'm not sure how to write them right now.
I filed #22699

PR Close #22669
@chuckjaz chuckjaz mentioned this pull request Mar 12, 2018
build: upgrade to TypeScript 2.7 #22097
Closed
@jasonaden jasonaden mentioned this pull request Mar 20, 2018
fix(router): make locationSyncBootstrapListener public due to change … #22896
Closed
jasonaden added a commit to jasonaden/angular that referenced this pull request Mar 20, 2018
@jasonaden
fix(router): make locationSyncBootstrapListener public due to change …
37a5d18
…in output after TS 2.7 update in angular#22669
jasonaden added a commit to jasonaden/angular that referenced this pull request Mar 20, 2018
@jasonaden
fixup! fix(router): make locationSyncBootstrapListener public due to …
86e68b1
…change in output after TS 2.7 update in angular#22669
IgorMinar pushed a commit that referenced this pull request Mar 21, 2018
@jasonaden @IgorMinar
fix(router): make locationSyncBootstrapListener public due to change …
623d769
…in output after TS 2.7 update in #22669 (#22896)

PR Close #22896
@IgorMinar IgorMinar mentioned this pull request May 8, 2018
Add support for TypeScript 2.8 #23779
Closed
6 of 7 tasks
@angular-automatic-lock-bot

angular-automatic-lock-bot Bot commented Sep 13, 2019

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@alexeagle alexeagle alexeagle approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project cla: yes merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note refactoring Issue that involves refactoring or code-cleanup target: major This PR is targeted for the next major release

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

TypeScript 2.7 support

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@IgorMinar @mary-poppins @alexeagle @kara @googlebot @chuckjaz
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.