Title: Support evolving the type with assignments for expando object · Issue #12416 · microsoft/TypeScript · GitHub
Open Graph Title: Support evolving the type with assignments for expando object · Issue #12416 · microsoft/TypeScript
X Title: Support evolving the type with assignments for expando object · Issue #12416 · microsoft/TypeScript
Description: Copied from #12278 (comment) OP = abgivant I use a similar module pattern in an application I'm working on, and the lack of IntelliSense/definitions for those has been an issue for me as well. Mine follow this basic pattern: module.expor...
Open Graph Description: Copied from #12278 (comment) OP = abgivant I use a similar module pattern in an application I'm working on, and the lack of IntelliSense/definitions for those has been an issue for me as well. Mine...
X Description: Copied from #12278 (comment) OP = abgivant I use a similar module pattern in an application I'm working on, and the lack of IntelliSense/definitions for those has been an issue for me as well. ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/12416
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support evolving the type with assignments for expando object ","articleBody":"Copied from https://github.com/Microsoft/TypeScript/issues/12278#issuecomment-261000712\r\nOP = @abgivant\r\n\r\nI use a similar module pattern in an application I'm working on, and the lack of IntelliSense/definitions for those has been an issue for me as well.\r\n\r\nMine follow this basic pattern:\r\n```javascript\r\nmodule.exports = function(x, y, z) {\r\n var exports = {};\r\n exports.method = function() {\r\n // Something that might use x, y, or z\r\n };\r\n return exports;\r\n}\r\n````\r\n\r\nWould it be possible to do something like include an option in the jsconfig.json file to specify a property name or list of names to track when determining module exports?\r\n\r\nMaybe something like this?\r\n```javascript\r\n{\r\n \"moduleOptions\": {\r\n \"exportProperty\": [\"exports\", \"this\"]\r\n }\r\n}\r\n```","author":{"url":"https://github.com/waderyan","@type":"Person","name":"waderyan"},"datePublished":"2016-11-21T19:10:32Z","url":"https://github.com/microsoft/TypeScript/issues/12416"}
| 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:fa8d6c14-5685-5df3-515c-edfc22523bf3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E97C:157C65:9E55BE:D4A22C:6B00EC97 |
| html-safe-nonce | de8c8c7b92184e83efdb1f2497db6d592473ea8bc6573b4e709424add34f0c69 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTdDOjE1N0M2NTo5RTU1QkU6RDRBMjJDOjZCMDBFQzk3IiwidmlzaXRvcl9pZCI6IjI4NjIyNjAwMzU3MDUxNzEwOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2ecffac93f398142940f225edc73b50f4b92104864de39438978eb0a631ebb93 |
| hovercard-subject-tag | issue:190808329 |
| 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/12416/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b0ad8a1828fcde9cb1b984379aa4a5a79c48807860ea9fb3113a1c377a1baccf/microsoft/TypeScript/issues/12416 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b0ad8a1828fcde9cb1b984379aa4a5a79c48807860ea9fb3113a1c377a1baccf/microsoft/TypeScript/issues/12416 |
| og:image:alt | Copied from #12278 (comment) OP = abgivant I use a similar module pattern in an application I'm working on, and the lack of IntelliSense/definitions for those has been an issue for me as well. Mine... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | waderyan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width