Skip to content
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

chore(typings): re-enable type-checking on the browser trees #4508

Closed
wants to merge 2 commits into from

Conversation

alexeagle
Copy link
Contributor

this was accidentally disabled in 5b5d31f
And we have accumulated some typings errors in the meantime.
One thing we did is introduce dependencies with typing conflicts.
See #4507
My solution here is to remove the upgrade module from this compilation unit. + @mhevery

@alexeagle alexeagle force-pushed the type_check_browser_tree branch 2 times, most recently from 3d51048 to 8ecd891 Compare October 4, 2015 15:31
@mhevery
Copy link
Contributor

mhevery commented Oct 5, 2015

Does your change stop running the upgrade tests? If it is just deployment think it is fine, but if it disables tests, then we need to look for a quick solution

"commit": "746b9a892629060bc853e792afff536e0ec4655e"
"commit": "4b36b94d5910aa8a4d20bdcd5bd1f9ae6ad18d3c"
},
"jquery/jquery.d.ts": {
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need this now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because angularjs/angular.d.ts has a relative reference path pointing here.
In fact, this has not correctly type-checked ever since Misko wrote the upgrade package. We just weren't running the typechecker on the browser tree. It wasn't type-checked by node_tree either because of include: ['angular2/**', 'benchpress/**', '**/e2e_test/**'],. So @mhevery has been getting a free ride!

@alexeagle
Copy link
Contributor Author

Tests can't run if the typescript files are never transpiled. Let's figure out a quick fix tomorrow - maybe another *_tree.ts file.
Note this change is one blocking my new hotness (check out https://github.com/alexeagle/angular2-distro/blob/master/README.md 😄 )

@alexeagle alexeagle force-pushed the type_check_browser_tree branch 3 times, most recently from f21bd66 to b2fab70 Compare October 5, 2015 20:30
@IgorMinar IgorMinar added this to the alpha-39 milestone Oct 5, 2015
@alexeagle
Copy link
Contributor Author

Updated to fix the upgrade package - removed the dependency on the angular typings and jquery, instead we hand-wrote a subset of angular.d.ts just for the upgrade package.

PTAL

@alexeagle alexeagle added the action: merge The PR is ready for merge by the caretaker label Oct 6, 2015
@mary-poppins
Copy link

Merging PR #4508 on behalf of @alexeagle to branch presubmit-alexeagle-pr-4508.

@mary-poppins mary-poppins removed the action: merge The PR is ready for merge by the caretaker label Oct 6, 2015
@alexeagle alexeagle closed this in 6093e28 Oct 6, 2015
@alexeagle alexeagle deleted the type_check_browser_tree branch October 6, 2015 14:02
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants