Title: [Question] Can't have a "pure" typescript library. · Issue #5225 · microsoft/TypeScript · GitHub
Open Graph Title: [Question] Can't have a "pure" typescript library. · Issue #5225 · microsoft/TypeScript
X Title: [Question] Can't have a "pure" typescript library. · Issue #5225 · microsoft/TypeScript
Description: Hello. Sorry if this issue is a double (I can't find anything relevant). Out team uses TypeScript for frontend development and we are trying to use TypeScript everywhere. So we have several libraries written fully in TypeScript. If I und...
Open Graph Description: Hello. Sorry if this issue is a double (I can't find anything relevant). Out team uses TypeScript for frontend development and we are trying to use TypeScript everywhere. So we have several librari...
X Description: Hello. Sorry if this issue is a double (I can't find anything relevant). Out team uses TypeScript for frontend development and we are trying to use TypeScript everywhere. So we have several lib...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/5225
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Question] Can't have a \"pure\" typescript library.","articleBody":"Hello. Sorry if this issue is a double (I can't find anything relevant). Out team uses TypeScript for frontend development and we are trying to use TypeScript everywhere. So we have several libraries written fully in TypeScript.\n\nIf I understand correctly, we can't make simple `import { smth } from 'pure-ts-lib/some-module';` work without having a generated `some-module.d.ts` file near `some-module.ts`. It's very inconvenient to us, because it adds an extra compilation step and more files we need to track. Is there a chance to change this behaviour to simply resolve a `.ts` module if any? Maybe we can control it by a compiler flag?\n\nReferences:\n\nhttps://github.com/TypeStrong/atom-typescript/issues/560#issuecomment-138456739\nhttps://github.com/Microsoft/TypeScript/blob/master/src/compiler/program.ts#L130\n","author":{"url":"https://github.com/s-panferov","@type":"Person","name":"s-panferov"},"datePublished":"2015-10-12T13:17:10Z","url":"https://github.com/microsoft/TypeScript/issues/5225"}
| 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:e72c1e4e-9148-b8d6-1978-af519b9c1210 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C60A:DB09F:1FF4B9B:28B8439:6B01750F |
| html-safe-nonce | 4fc873ab66b2895bbd90f9b97c801f0ee2f821a38b37fcadfdd840371bf905b1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjBBOkRCMDlGOjFGRjRCOUI6MjhCODQzOTo2QjAxNzUwRiIsInZpc2l0b3JfaWQiOiI3MTYwNTg5NTU2NjU4NTY2NDE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bf64deda788135c1a7763088c8725fd274ea5e876fe965ff96acdbebf007f252 |
| hovercard-subject-tag | issue:110973119 |
| 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/5225/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4aba1871b58f9bf0521d93e45f21e5325710eacfc3ff20c50991df182eccd7a1/microsoft/TypeScript/issues/5225 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4aba1871b58f9bf0521d93e45f21e5325710eacfc3ff20c50991df182eccd7a1/microsoft/TypeScript/issues/5225 |
| og:image:alt | Hello. Sorry if this issue is a double (I can't find anything relevant). Out team uses TypeScript for frontend development and we are trying to use TypeScript everywhere. So we have several librari... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | s-panferov |
| 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