Title: typescript error: Subsequent variable declarations must have the same type. Variable 'global' must be of type 'Global & typeof globalThis', but here has type 'Global'. · Issue #8628 · NativeScript/NativeScript · GitHub
Open Graph Title: typescript error: Subsequent variable declarations must have the same type. Variable 'global' must be of type 'Global & typeof globalThis', but here has type 'Global'. · Issue #8628 · NativeScript/NativeScript
X Title: typescript error: Subsequent variable declarations must have the same type. Variable 'global' must be of type 'Global & typeof globalThis', but here has type 'Global'. · Issue #8628 · NativeScript/NativeScript
Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.7.4 Cross-platform modules: Android Runti...
Open Graph Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.7...
X Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.7...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/8628
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"typescript error: Subsequent variable declarations must have the same type. Variable 'global' must be of type 'Global \u0026 typeof globalThis', but here has type 'Global'.","articleBody":"**Environment**\r\nProvide version numbers for the following components (information can be retrieved by running `tns info` in your project folder or by inspecting the `package.json` of the project):\r\n - CLI: 6.7.4\r\n - Cross-platform modules: \r\n - Android Runtime:\r\n - iOS Runtime:\r\n - Plugin(s):\r\n\r\n**Describe the bug**\r\nTypeScript returns type error subsequent variable declarations must have the same type. Variable 'global' must be of type 'Global \u0026 typeof globalThis', but here has type 'Global'.\r\n\r\n**To Reproduce**\r\nbuild\r\n\r\n**Expected behavior**\r\nTypesScript should return no error\r\n\r\n**Additional context**\r\nThis is been reported in other projects like the main angular project many others\r\n","author":{"url":"https://github.com/ReyPena","@type":"Person","name":"ReyPena"},"datePublished":"2020-06-10T07:58:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/8628/NativeScript/issues/8628"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a9fe227d-43b8-7ebe-c180-e64210a62f40 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84A8:30460E:94CC462:C75BEAD:6A5E6649 |
| html-safe-nonce | 1d1b6a24d14c62a065c2b440a8103bdf1b406a7c9d011f74f874d4c63fb97520 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEE4OjMwNDYwRTo5NENDNDYyOkM3NUJFQUQ6NkE1RTY2NDkiLCJ2aXNpdG9yX2lkIjoiMTUxNzIwNzU4ODYyMjQ2MDQ4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 409e45b0ec93df66d4b7be7081b9682be6a0aacd9343453db51ca09c58191635 |
| hovercard-subject-tag | issue:636023188 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/8628/issue_layout |
| twitter:image | https://opengraph.githubassets.com/06d89edf433956d9f516f67e627ae15f17de87f245c4d1feef805ba84198445d/NativeScript/NativeScript/issues/8628 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/06d89edf433956d9f516f67e627ae15f17de87f245c4d1feef805ba84198445d/NativeScript/NativeScript/issues/8628 |
| og:image:alt | Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.7... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ReyPena |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5684292e6b02f9c72a31f9bc29d1fa47afbeda5424e76fb5f0b7c08766757177 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d151d247da13e8abadf6fd7f5a5f8659dae9a8d0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width