Title: Support ///
Open Graph Title: Support ///
X Title: Support ///
Description: At Google, we keep all dependency information in source files, and generate the tsconfig.json file in the build tooling (https://github.com/bazelbuild/rules_typescript/blob/master/internal/common/tsconfig.bzl) In order to generate the li...
Open Graph Description: At Google, we keep all dependency information in source files, and generate the tsconfig.json file in the build tooling (https://github.com/bazelbuild/rules_typescript/blob/master/internal/common/t...
X Description: At Google, we keep all dependency information in source files, and generate the tsconfig.json file in the build tooling (https://github.com/bazelbuild/rules_typescript/blob/master/internal/common/t...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/16627
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support /// \u003creference libs=\"\" /\u003e","articleBody":"At Google, we keep all dependency information in source files, and generate the `tsconfig.json` file in the build tooling (https://github.com/bazelbuild/rules_typescript/blob/master/internal/common/tsconfig.bzl)\r\n\r\nIn order to generate the `libs[]`, we currently use some special one-off comment syntax, which is not understood by editors or other tools. It would be much nicer to specify required TS libs in the source file, the same way as for `types[]`.\r\n\r\nCurrently the behavior is not symmetric:\r\n\r\ndep | source file | `tsconfig.json`\r\n-|-----------|---------------\r\ntypes | `/// \u003creference types=\"node\"/\u003e` | `\"types\": []`\r\nlibs | ??? | `\"libs\": []`\r\n\r\nWe'd like to be able to do `/// \u003creference libs=\"es2015.collection\" /\u003e`\r\n\r\n/cc @evmar ","author":{"url":"https://github.com/alexeagle","@type":"Person","name":"alexeagle"},"datePublished":"2017-06-19T20:40:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/16627/TypeScript/issues/16627"}
| 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:35af229d-447d-37c2-947e-5aa3092b1328 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 96C0:2DFA57:1F52F4:2CEE46:6A61FDCB |
| html-safe-nonce | b7d24268c83c79cf45a41b7d83720b60434e78753b09951f2a83f60f478df3db |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkMwOjJERkE1NzoxRjUyRjQ6MkNFRTQ2OjZBNjFGRENCIiwidmlzaXRvcl9pZCI6IjUwMjU2NzI3ODUzODc3MTYwNDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0a3fafa2f2eb301bfd57657aa33b2a1c43b79995ea7d6fb24ec4d915ad5b3770 |
| hovercard-subject-tag | issue:237017568 |
| 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/16627/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b6c1caab4c042c7b42409bd692af70cd332e79eb9c7e0b89101d2a5671259963/microsoft/TypeScript/issues/16627 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b6c1caab4c042c7b42409bd692af70cd332e79eb9c7e0b89101d2a5671259963/microsoft/TypeScript/issues/16627 |
| og:image:alt | At Google, we keep all dependency information in source files, and generate the tsconfig.json file in the build tooling (https://github.com/bazelbuild/rules_typescript/blob/master/internal/common/t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexeagle |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9e41a6fd863e96b9c7e9185dc317bf107dbbf8cb10efd6dea957211963f33775 |
| 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 | 2ed5e9c44acb35dcc1d752e449d2a6f7a6164b7b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width