René's URL Explorer Experiment


Title: angular2.d.ts references globals-es6.d.ts but core.d.ts doesn't · Issue #5596 · angular/angular · GitHub

Open Graph Title: angular2.d.ts references globals-es6.d.ts but core.d.ts doesn't · Issue #5596 · angular/angular

X Title: angular2.d.ts references globals-es6.d.ts but core.d.ts doesn't · Issue #5596 · angular/angular

Description: as we are moving from import ... from 'angular2/angular2' to import ... from 'angular2/core' we are starting to hit typescript compiler errors like this: [DiffingTSCompiler]: Typescript found the following errors: app/sample-38.spec.ts (...

Open Graph Description: as we are moving from import ... from 'angular2/angular2' to import ... from 'angular2/core' we are starting to hit typescript compiler errors like this: [DiffingTSCompiler]: Typescript found the f...

X Description: as we are moving from import ... from 'angular2/angular2' to import ... from 'angular2/core' we are starting to hit typescript compiler errors like this: [DiffingTSCompiler]: Typesc...

Opengraph URL: https://github.com/angular/angular/issues/5596

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"angular2.d.ts references globals-es6.d.ts but core.d.ts doesn't","articleBody":"as we are moving from `import ... from 'angular2/angular2'` to `import ... from 'angular2/core'` we are starting to hit typescript compiler errors like this:\n\n```\n[DiffingTSCompiler]: Typescript found the following errors:\n  app/sample-38.spec.ts (8, 32): Property 'toBe' does not exist on type 'NgMatchers'.\n  app/sample-38.spec.ts (13, 35): Property 'toBe' does not exist on type 'NgMatchers'.\n  app/sample-38.spec.ts (14, 37): Property 'toBe' does not exist on type 'NgMatchers'.\n  node_modules/angular2/node_modules/@reactivex/rxjs/dist/cjs/CoreOperators.d.ts (21, 70): Cannot find name 'Promise'.\n  node_modules/angular2/node_modules/@reactivex/rxjs/dist/cjs/CoreOperators.d.ts (74, 31): Cannot find name 'PromiseConstructor'.\n  node_modules/angular2/node_modules/@reactivex/rxjs/dist/cjs/CoreOperators.d.ts (74, 54): Cannot find name 'Promise'.\n  node_modules/angular2/node_modules/@reactivex/rxjs/dist/cjs/Observable.d.ts (63, 53): Cannot find name 'PromiseConstructor'.\n  node_modules/angular2/node_modules/@reactivex/rxjs/dist/cjs/Observable.d.ts (63, 74): Cannot find name 'Promise'.\n  node_modules/angular2/node_modules/@reactivex/rxjs/dist/cjs/Observable.d.ts (74, 38): Cannot find name 'Promise'.\n  node_modules/angular2/node_modules/@reactivex/rxjs/dist/cjs/Observable.d.ts (97, 69): Cannot find name 'Promise'.\n  node_modules/angular2/node_modules/@reactivex/rxjs/dist/cjs/Observable.d.ts (149, 30): Cannot find name 'PromiseConstructor'.\n  node_modules/angular2/node_modules/@reactivex/rxjs/dist/cjs/Observable.d.ts (149, 53): Cannot find name 'Promise'.\n  node_modules/angular2/src/core/change_detection/parser/locals.d.ts (3, 14): Cannot find name 'Map'.\n  node_modules/angular2/src/core/change_detection/parser/locals.d.ts (4, 42): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/element_injector.d.ts (71, 32): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/element_injector.d.ts (73, 17): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/element_injector.d.ts (77, 184): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/element_injector.d.ts (82, 182): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/element_injector.d.ts (106, 37): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/proto_view_factory.d.ts (28, 146): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/view.d.ts (52, 144): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/view.d.ts (76, 79): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/view.d.ts (77, 73): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/view.d.ts (95, 31): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/view.d.ts (98, 18): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/view.d.ts (101, 24): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/view.d.ts (104, 162): Cannot find name 'Map'.\n  node_modules/angular2/src/core/linker/view.d.ts (105, 160): Cannot find name 'Map'.\n  node_modules/angular2/src/core/render/api.d.ts (289, 74): Cannot find name 'Map'.\n  node_modules/angular2/src/core/zone/ng_zone.d.ts (2, 37): Cannot find name 'Zone'.\n  node_modules/angular2/src/facade/collection.d.ts (1, 25): Cannot find name 'MapConstructor'.\n  node_modules/angular2/src/facade/collection.d.ts (2, 25): Cannot find name 'SetConstructor'.\n  node_modules/angular2/src/facade/collection.d.ts (4, 27): Cannot find name 'Map'.\n  node_modules/angular2/src/facade/collection.d.ts (4, 39): Cannot find name 'Map'.\n  node_modules/angular2/src/facade/collection.d.ts (7, 9): Cannot find name 'Map'.\n  node_modules/angular2/src/facade/collection.d.ts (8, 30): Cannot find name 'Map'.\n  node_modules/angular2/src/facade/collection.d.ts (11, 43): Cannot find name 'Map'.\n  node_modules/angular2/src/facade/collection.d.ts (12, 27): Cannot find name 'Map'.\n  node_modules/angular2/src/facade/collection.d.ts (14, 23): Cannot find name 'Map'.\n  node_modules/angular2/src/facade/collection.d.ts (15, 25): Cannot find name 'Map'.\n  node_modules/angular2/src/facade/collection.d.ts (90, 41): Cannot find name 'Set'.\n  node_modules/angular2/src/facade/collection.d.ts (91, 22): Cannot find name 'Set'.\n  node_modules/angular2/src/facade/collection.d.ts (92, 25): Cannot find name 'Set'.\n  node_modules/angular2/src/facade/lang.d.ts (2, 22): Cannot find name 'BrowserNodeGlobal'.\n  node_modules/angular2/src/facade/lang.d.ts (47, 59): Cannot find name 'Map'.\n  node_modules/angular2/src/facade/promise.d.ts (1, 10): Cannot find name 'Promise'.\n  node_modules/angular2/src/facade/promise.d.ts (3, 14): Cannot find name 'Promise'.\n  node_modules/angular2/src/facade/promise.d.ts (8, 32): Cannot find name 'Promise'.\n  node_modules/angular2/src/facade/promise.d.ts (9, 38): Cannot find name 'Promise'.\n  node_modules/angular2/src/facade/promise.d.ts (10, 35): Cannot find name 'Promise'.\n  node_modules/angular2/src/facade/promise.d.ts (10, 93): Cannot find name 'Promise'.\n  node_modules/angular2/src/facade/promise.d.ts (11, 34): Cannot find name 'Promise'.\n  node_modules/angular2/src/facade/promise.d.ts (12, 32): Cannot find name 'Promise'.\n  node_modules/angular2/src/facade/promise.d.ts (12, 149): Cannot find name 'Promise'.\n  node_modules/angular2/src/facade/promise.d.ts (13, 43): Cannot find name 'Promise'.\n  node_modules/angular2/src/platform/browser/browser_adapter.d.ts (72, 33): Cannot find name 'Map'.\n  node_modules/angular2/src/platform/dom/dom_adapter.d.ts (84, 42): Cannot find name 'Map'.\n  node_modules/angular2/src/testing/matchers.d.ts (1, 37): Cannot find namespace 'jasmine'.\n```\n\nThis is because when importing from `angular2/angular`, we are pulling in `angular2.d.ts` which pulls in `globals-es6.d.ts`. However when importing from `angular2/core` we no longer pull in the `globals-es6.d.ts` file, which results in all kinds of typings missing.\n\nTo work around this, developers need to explicitly refer to this d.ts file via tripple-slash reference or via tsconfig.json. (example: https://github.com/angular/angular-cli/pull/85/files#r46653752).\n\nNote: `globals-es6.d.ts` is actually pretty problematic because it pulls in type definitions for not only es6 shims, but also jasmine, promises and bunch of other stuff. This is pretty messy and we should find a better way to do it, but that's a separate issue.\n\n// @rkirov @alexeagle @mprobst @cironunes @vsavkin \n","author":{"url":"https://github.com/IgorMinar","@type":"Person","name":"IgorMinar"},"datePublished":"2015-12-04T07:01:54Z","url":"https://github.com/angular/angular/issues/5596"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:676e0e60-83e7-19bd-da32-34d34242da5e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCB64:2E124E:918A7A:BB3AB7:6B00EFC3
html-safe-nonce768e5aa90753b66ec669d0e87991d584a0689564f1269aba8c404970945aed33
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjY0OjJFMTI0RTo5MThBN0E6QkIzQUI3OjZCMDBFRkMzIiwidmlzaXRvcl9pZCI6IjMxMDAxNzY0NTA1MzIyMDg1NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac94ca6a221b48a9a4ede2283b8c2b0a76269e012cca151bbb9c76e0c2ae963f0a
hovercard-subject-tagissue:120345964
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/5596/issue_layout
twitter:imagehttps://opengraph.githubassets.com/40041ef2edf63e98b7c2f55dcc27a6e4ca795f7ae968c7f0a306a1ce7c6e1305/angular/angular/issues/5596
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/40041ef2edf63e98b7c2f55dcc27a6e4ca795f7ae968c7f0a306a1ce7c6e1305/angular/angular/issues/5596
og:image:altas we are moving from import ... from 'angular2/angular2' to import ... from 'angular2/core' we are starting to hit typescript compiler errors like this: [DiffingTSCompiler]: Typescript found the f...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameIgorMinar
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/5596#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F5596
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F5596
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/5596
Reloadhttps://github.com/angular/angular/issues/5596
Reloadhttps://github.com/angular/angular/issues/5596
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests140 (140)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/5596
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/5596
angular2.d.ts references globals-es6.d.ts but core.d.ts doesn'thttps://github.com/angular/angular/issues/5596#top
https://github.com/vsavkin
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
beta.0https://github.com/angular/angular/milestone/49
https://github.com/IgorMinar
IgorMinarhttps://github.com/IgorMinar
on Dec 4, 2015https://github.com/angular/angular/issues/5596#issue-120345964
https://github.com/angular/angular-cli/pull/85/files#r46653752https://github.com/angular/angular-cli/pull/85/files#r46653752
@rkirovhttps://github.com/rkirov
@alexeaglehttps://github.com/alexeagle
@mprobsthttps://github.com/mprobst
@cironuneshttps://github.com/cironunes
@vsavkinhttps://github.com/vsavkin
IgorMinarhttps://github.com/IgorMinar
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
P1: urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P1%3A%20urgent%22
on Dec 4, 2015https://github.com/angular/angular/issues/5596#event-482350282
IgorMinarhttps://github.com/IgorMinar
beta.0https://github.com/angular/angular/milestone/49
on Dec 4, 2015https://github.com/angular/angular/issues/5596#event-482350615
https://github.com/rolandjitsu
rolandjitsuhttps://github.com/rolandjitsu
on Dec 4, 2015https://github.com/angular/angular/issues/5596#issuecomment-162057045
@IgorMinarhttps://github.com/IgorMinar
herehttps://github.com/typings/typings
@blakeembreyhttps://github.com/blakeembrey
https://github.com/blakeembrey
blakeembreyhttps://github.com/blakeembrey
on Dec 4, 2015https://github.com/angular/angular/issues/5596#issuecomment-162066251
@rolandjitsuhttps://github.com/rolandjitsu
https://github.com/IgorMinar
IgorMinarhttps://github.com/IgorMinar
on Dec 4, 2015https://github.com/angular/angular/issues/5596#issuecomment-162068632
https://github.com/IgorMinar
IgorMinarhttps://github.com/IgorMinar
on Dec 4, 2015https://github.com/angular/angular/issues/5596#issuecomment-162068710
vsavkinhttps://github.com/vsavkin
on Dec 4, 2015https://github.com/angular/angular/issues/5596#event-483036846
https://github.com/rolandjitsu
rolandjitsuhttps://github.com/rolandjitsu
on Dec 4, 2015https://github.com/angular/angular/issues/5596#issuecomment-162069371
@blakeembreyhttps://github.com/blakeembrey
https://github.com/IgorMinar
IgorMinarhttps://github.com/IgorMinar
on Dec 4, 2015https://github.com/angular/angular/issues/5596#issuecomment-162086319
@rolandjitsuhttps://github.com/rolandjitsu
@mhegazyhttps://github.com/mhegazy
https://github.com/vsavkin
vsavkinhttps://github.com/vsavkin
on Dec 4, 2015https://github.com/angular/angular/issues/5596#issuecomment-162101413
#5617https://github.com/angular/angular/pull/5617
vsavkinhttps://github.com/vsavkin
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 4, 2015https://github.com/angular/angular/issues/5596#event-483164227
https://github.com/taxinvoice
taxinvoicehttps://github.com/taxinvoice
on Jan 6, 2016https://github.com/angular/angular/issues/5596#issuecomment-169321527
https://github.com/IgorMinar
IgorMinarhttps://github.com/IgorMinar
on Jan 6, 2016https://github.com/angular/angular/issues/5596#issuecomment-169333514
angular/angular.io#658https://github.com/angular/angular.io/issues/658
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 7, 2019https://github.com/angular/angular/issues/5596#issuecomment-529139345
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 7, 2019https://github.com/angular/angular/issues/5596#event-2616376561
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/5596
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/5596
vsavkinhttps://github.com/vsavkin
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
beta.0https://github.com/angular/angular/milestone/49
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.