Title: Odd behavior on commonjs modules not inside node_modules folders · Issue #4849 · microsoft/TypeScript · GitHub
Open Graph Title: Odd behavior on commonjs modules not inside node_modules folders · Issue #4849 · microsoft/TypeScript
X Title: Odd behavior on commonjs modules not inside node_modules folders · Issue #4849 · microsoft/TypeScript
Description: Consider the package: /mylib package.json index.d.ts /sublib package.json index.d.ts other.d.ts We correctly find and import the .d.tss in mylib and sublib, but we do not apply the restrictions applied in #4738, despite being within an e...
Open Graph Description: Consider the package: /mylib package.json index.d.ts /sublib package.json index.d.ts other.d.ts We correctly find and import the .d.tss in mylib and sublib, but we do not apply the restrictions app...
X Description: Consider the package: /mylib package.json index.d.ts /sublib package.json index.d.ts other.d.ts We correctly find and import the .d.tss in mylib and sublib, but we do not apply the restrictions app...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/4849
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Odd behavior on commonjs modules not inside node_modules folders","articleBody":"Consider the package:\n- `/mylib`\n - `package.json`\n - `index.d.ts`\n - `/sublib`\n - `package.json`\n - `index.d.ts`\n - `other.d.ts`\n\nWe correctly find and import the `.d.ts`s in `mylib` and `sublib`, but we do not apply the restrictions applied in #4738, despite being within an external package.\n\nRepo with repro: https://github.com/weswigham/ts-4849-repro\n","author":{"url":"https://github.com/weswigham","@type":"Person","name":"weswigham"},"datePublished":"2015-09-18T04:24:55Z","url":"https://github.com/microsoft/TypeScript/issues/4849"}
| 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:cc1ea298-d506-3480-fd94-45e71360e347 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C448:785A9:1020FB8:1476C5D:6B0111E1 |
| html-safe-nonce | 585c18594d5a521acc496835f3990f681bf20feeecac7897337fd781adcfea43 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDQ4Ojc4NUE5OjEwMjBGQjg6MTQ3NkM1RDo2QjAxMTFFMSIsInZpc2l0b3JfaWQiOiIzNjUyNjA3OTQ3NDQxMjQ2Njg5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0cb1f0a9d16ef2f5a391a6859e8eddae3a80984b81471f837e4282c617f304f4 |
| hovercard-subject-tag | issue:107131259 |
| 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/4849/issue_layout |
| twitter:image | https://opengraph.githubassets.com/15408e0b3bb3b8b11125316bc766b233f761e0e1c7c624399beb3517b6667bb9/microsoft/TypeScript/issues/4849 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/15408e0b3bb3b8b11125316bc766b233f761e0e1c7c624399beb3517b6667bb9/microsoft/TypeScript/issues/4849 |
| og:image:alt | Consider the package: /mylib package.json index.d.ts /sublib package.json index.d.ts other.d.ts We correctly find and import the .d.tss in mylib and sublib, but we do not apply the restrictions app... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | weswigham |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width