Title: JSDoc referencing non-global class: Namespace 'X' has no exported member 'MyClass' · Issue #23936 · microsoft/TypeScript · GitHub
Open Graph Title: JSDoc referencing non-global class: Namespace 'X' has no exported member 'MyClass' · Issue #23936 · microsoft/TypeScript
X Title: JSDoc referencing non-global class: Namespace 'X' has no exported member 'MyClass' · Issue #23936 · microsoft/TypeScript
Description: TypeScript Version: 2.9.0-dev.20180430 Code class Circle {}; class Rectangle {}; const Shapes = {Circle, Rectangle}; // `Shapes` imported into another file class Square extends Shapes.Rectangle { /** * @param {Shapes.Circle} circle */ in...
Open Graph Description: TypeScript Version: 2.9.0-dev.20180430 Code class Circle {}; class Rectangle {}; const Shapes = {Circle, Rectangle}; // `Shapes` imported into another file class Square extends Shapes.Rectangle { /...
X Description: TypeScript Version: 2.9.0-dev.20180430 Code class Circle {}; class Rectangle {}; const Shapes = {Circle, Rectangle}; // `Shapes` imported into another file class Square extends Shapes.Rectangle { /...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/23936
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JSDoc referencing non-global class: Namespace 'X' has no exported member 'MyClass' ","articleBody":"**TypeScript Version:** 2.9.0-dev.20180430\r\n\r\n**Code**\r\n\r\n```js\r\nclass Circle {};\r\nclass Rectangle {};\r\nconst Shapes = {Circle, Rectangle};\r\n\r\n// `Shapes` imported into another file\r\n\r\nclass Square extends Shapes.Rectangle {\r\n /**\r\n * @param {Shapes.Circle} circle\r\n */\r\n intersects(circle) {\r\n //\r\n }\r\n}\r\n```\r\n\r\nTypecheck using:\r\n\r\n```\r\ntsc --checkjs --allowjs --noemit sample.js\r\n```\r\n**Actual behavior:**\r\n\r\n```\r\nsample.js(10,23): error TS2694: Namespace 'Shapes' has no exported member 'Circle'.\r\n```","author":{"url":"https://github.com/zombie","@type":"Person","name":"zombie"},"datePublished":"2018-05-07T18:55:54Z","url":"https://github.com/microsoft/TypeScript/issues/23936"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6a86ebf0-d5f1-351f-127b-dd12849cb389 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E82A:E3C4F:2DD12CB:3A71D36:6B01C39A |
| html-safe-nonce | 8918db080c82bc7c6d927d2a56327a627aeec8f03643db09ab9fcd331a543f19 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODJBOkUzQzRGOjJERDEyQ0I6M0E3MUQzNjo2QjAxQzM5QSIsInZpc2l0b3JfaWQiOiI1MDEzNzE2OTg4MDE1NTI2ODEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cec0ee72b99a3e60ddabf7491a3656a2246268b581e1ee1fc0c32c6993a94ddb |
| hovercard-subject-tag | issue:320915929 |
| 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/microsoft/TypeScript/23936/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7b9fbf95548d4e7490de0951e8807953bd9fc66535c59f4737f3db16fe7a0953/microsoft/TypeScript/issues/23936 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7b9fbf95548d4e7490de0951e8807953bd9fc66535c59f4737f3db16fe7a0953/microsoft/TypeScript/issues/23936 |
| og:image:alt | TypeScript Version: 2.9.0-dev.20180430 Code class Circle {}; class Rectangle {}; const Shapes = {Circle, Rectangle}; // `Shapes` imported into another file class Square extends Shapes.Rectangle { /... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zombie |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width