René's URL Explorer Experiment


Title: External module resolution for non-Typescript packages · Issue #2839 · microsoft/TypeScript · GitHub

Open Graph Title: External module resolution for non-Typescript packages · Issue #2839 · microsoft/TypeScript

X Title: External module resolution for non-Typescript packages · Issue #2839 · microsoft/TypeScript

Description: Good progress is made on supporting the case of packages that carry their own typings in #2338. That proposal doesn't currently deal with modules that do not carry their own typings, a.k.a. all modules that need typings from DefinitelyTy...

Open Graph Description: Good progress is made on supporting the case of packages that carry their own typings in #2338. That proposal doesn't currently deal with modules that do not carry their own typings, a.k.a. all mod...

X Description: Good progress is made on supporting the case of packages that carry their own typings in #2338. That proposal doesn't currently deal with modules that do not carry their own typings, a.k.a. all...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/2839

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"External module resolution for non-Typescript packages","articleBody":"Good progress is made on supporting the case of packages that carry their own typings in #2338.\n\nThat proposal doesn't currently deal with modules that do not carry their own typings, a.k.a. all modules that need typings from DefinitelyTyped.\n\nThis issue is to investigate possibilities of, and propose a (simple) solution for preventing problems when using (multiple versions of) external modules together.\n\n**TL;DR**\n1. No longer use `declare module \"...\" { }` in typings for external modules\n2. Add an extra step to the resolution logic of #2338 to look up this type of external typings\n\n**Example scenario**\n- myprogram\n  - mylib\n    - myutils@1.0\n  - myotherlib\n    - myutils@2.0\n\nSuppose that both `mylib` and `myotherlib` export a function, that returns a value of a type defined in `myutils`.\n\n**Existing scenario**\n\nLikely, both `mylib` and `myotherlib` will each have a `/// \u003creference path=\"./typings/tsd.d.ts\" />` line, which again has a `/// \u003creference path=\"./myutils/myutils.d.ts\" />` line.\n\n**Problem**\n\nBoth libs carry their own version of `myutils.d.ts`, which works fine as long as they are not used together.\n\nHowever, when they _are_ used together (as in this example), all the `/// \u003creference ...>` lines will (need to) be 'merged', which essentially means the `declare module \"myutils\" { ... }` from both `mylib` and `myotherlib` will end up in the same 'global module name namespace'.\n\nThis gives a compiler error, and even if the compiler would somehow allow it, would make it impossible to refer to either version of `myutils`.\n\nAdditionally, tools like [`dts-generator`](https://github.com/SitePen/dts-generator) e.g. include the `/// \u003creference>` line inside of the `declare` blocks, which get ignored by the compiler. This leads to unknown-references when trying to use such a typing, and will typically be solved by adding e.g. a `myutils/myutils.d.ts` to `myprogram/typings/tsd.d.ts`, which will be wrong for one of the libs.\n\n**Solution**\n\nExternal modules have the nice property that there is no 'global namespace' (except the filesystem, maybe), and basically every reference is 'local'.\n\nIt makes sense to use the same referencing scheme that's used for resolving 'local' external modules (within a package) for 'normal' external modules (different npm packages).\n\nBasically, the idea consists of:\n- No longer using `declare module \"...\" { }` in typings for external modules (to prevent the global namespace clash)\n- Adding an extra step to the resolution logic of #2338 to look up this type of external typings (e.g. in `typings/` folder)\n\n**Advantages**\n- Multiple versions of a package can co-exist in the same program/library\n- `/// \u003creference>` lines are no longer needed in most cases (except probably for e.g. importing Mocha's `it()` and other 'true' globals)\n- One format to rule them all: external module typings are already generated without `declare module \"...\" { }` by `tsc`, so all 'sorts' of external module typings will look the same\n- Gradual upgrade path: the `tsd.d.ts`-way will still work for packages that do still use `declare module \"...\" { }` (although it will still have the name-clash problem etc.)\n\n**Disadvantages**\n- Typings on e.g. DefinitelyTyped will (gradually) need to be replaced with their non-wrapped version\n- Extra lookup step in the compiler\n- Location of these external typings (a.k.a. include path) needs to be configured somewhere and/or sensible default value chosen\n\n**Example 'new-style' typings**\n\nMost hand-crafted typings will typically look like:\n\n``` ts\n/// myutils.d.ts\nexport interface BarType {\n    bar: number;\n}\nexport declare function something(): BarType;\n```\n\nBut just to make things more interesting, suppose the typings of `myutils` look like:\n\n``` ts\n/// dist/bar.d.ts\nexport interface BarType {\n    bar: number;\n}\n\n/// dist/foo.d.ts\nimport bar = require(\"./bar\");\nexport declare function something(): bar.BarType;\n```\n\nNothing special here, this is what `tsc` generates today.\n(Note: dist/ may be because someone used CoffeeScript, not TypeScript, right? :))\n\nNow, the typings dir on e.g. DefinitelyTyped could look like:\n\n```\nDefinitelyTyped/myutils/latest/dist/bar.d.ts\nDefinitelyTyped/myutils/latest/dist/foo.d.ts\nDefinitelyTyped/myutils/1.0/dist/bar.d.ts\nDefinitelyTyped/myutils/1.0/dist/foo.d.ts\n```\n\n(Or maybe `2.0` instead of `latest`, ideas welcome.)\n\nAnd both `mylib` and `myotherlib` would have:\n\n```\ntypings/myutils/dist/bar.d.ts\ntypings/myutils/dist/foo.d.ts\n```\n\n**Looking up .d.ts**\n\nGiven e.g. `import { something } from \"myutils\"` the compiler could use [`myutils/package.json`'s `main` property](https://github.com/Microsoft/TypeScript/issues/2338#issuecomment-94555288) to get to `./dist/foo.js`, which in turn would resolve to `dist/foo.d.ts`.\n\nNice and simple: no need to have support from the authors of `myutils`, no `/// \u003creference>` lines.\nAnd it even supports the `import bar  = require(\"myutils/dist/bar\")` case.\n\n**Open questions**\n- Use one typings dir for both 'wrapped' and 'unwrapped' typings?\n- First do a lookup for external modules already `declare`'ed, e.g. through tsd.d.ts? If so, would probably make first bullet usable, nice for gradual upgrade path of DT typings.\n- Most DT typings will not want to mimic exact filesystem structure of package, using e.g. `myutils/latest/index.d.ts` will probably work out-of-the-box with external module resolution logic, but `myutils/latest/myutils.d.ts` or even `myutils/myutils.d.ts` may be easier for filename in editor tab?\n\nGood idea? Bad idea?\n","author":{"url":"https://github.com/poelstra","@type":"Person","name":"poelstra"},"datePublished":"2015-04-20T21:54:53Z","url":"https://github.com/microsoft/TypeScript/issues/2839"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7c48537e-60d1-a732-d380-055f42ce374f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idABC2:63875:D58933:11BCCC9:6B00FB79
html-safe-nonce4cc2b7f0edfc9151e9694bfd7453fbca0e245ea51b5484e1bb0e40dadd050e63
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkMyOjYzODc1OkQ1ODkzMzoxMUJDQ0M5OjZCMDBGQjc5IiwidmlzaXRvcl9pZCI6IjEwNzcxODQxMjkzOTA5OTAwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac341319337399fdbb4317efb9be86dad77134efbbeca6eade48a7300118b2d9ca
hovercard-subject-tagissue:69690167
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/2839/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d8eba66cd3ae611807b8ad0b217eab6c4d8ac453323289ccc4777d7e5a6432ac/microsoft/TypeScript/issues/2839
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d8eba66cd3ae611807b8ad0b217eab6c4d8ac453323289ccc4777d7e5a6432ac/microsoft/TypeScript/issues/2839
og:image:altGood progress is made on supporting the case of packages that carry their own typings in #2338. That proposal doesn't currently deal with modules that do not carry their own typings, a.k.a. all mod...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepoelstra
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/2839#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F2839
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F2839
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/2839
Reloadhttps://github.com/microsoft/TypeScript/issues/2839
Reloadhttps://github.com/microsoft/TypeScript/issues/2839
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests309 (309)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/2839
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/2839
External module resolution for non-Typescript packageshttps://github.com/microsoft/TypeScript/issues/2839#top
https://github.com/RyanCavanaugh
@typesRelates to working with .d.ts files (declaration/definition files) from DefinitelyTypedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22%40types%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com/poelstra
Martin Poelstra (poelstra)https://github.com/poelstra
on Apr 20, 2015https://github.com/microsoft/TypeScript/issues/2839#issue-69690167
#2338https://github.com/microsoft/TypeScript/issues/2338
External module resolution logic #2338https://github.com/microsoft/TypeScript/issues/2338
dts-generatorhttps://github.com/SitePen/dts-generator
External module resolution logic #2338https://github.com/microsoft/TypeScript/issues/2338
myutils/package.json's main propertyhttps://github.com/Microsoft/TypeScript/issues/2338#issuecomment-94555288
Nexthttps://github.com/microsoft/TypeScript/issues/2839?timeline_page=1
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
on Apr 20, 2015https://github.com/microsoft/TypeScript/issues/2839#event-285687048
https://github.com/basarat
Basarat Ali Syed (basarat)https://github.com/basarat
on Apr 21, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-94630741
https://github.com/poelstra
Martin Poelstra (poelstra)https://github.com/poelstra
on Apr 21, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-94699672
Basarat Ali Syed (@basarat)https://github.com/basarat
https://github.com/basarat
Basarat Ali Syed (basarat)https://github.com/basarat
on Apr 21, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-94699736
https://github.com/basarat
Basarat Ali Syed (basarat)https://github.com/basarat
on Apr 21, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-94702160
Basarat Ali Syed (basarat)https://github.com/basarat
on Apr 21, 2015https://github.com/microsoft/TypeScript/issues/2839#event-286016637
Example for @poelstrahttps://github.com/basarat/typescript-node/commit/c0c0cb46d4c73ba05b11b6acd0f5da6856775f05
@poelstrahttps://github.com/poelstra
c0c0cb4https://github.com/basarat/typescript-node/commit/c0c0cb46d4c73ba05b11b6acd0f5da6856775f05
https://github.com/basarat
Basarat Ali Syed (basarat)https://github.com/basarat
on Apr 21, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-94722328
https://github.com/basarat/typescript-node/tree/master/poelstra1/tshttps://github.com/basarat/typescript-node/tree/master/poelstra1/ts
https://cloud.githubusercontent.com/assets/874898/7249457/da0e6fd0-e85d-11e4-820f-a914ee3f44f2.png
https://github.com/poelstra
Martin Poelstra (poelstra)https://github.com/poelstra
on Apr 21, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-94730491
Basarat Ali Syed (@basarat)https://github.com/basarat
#2338https://github.com/microsoft/TypeScript/issues/2338
External module resolution logic #2338https://github.com/microsoft/TypeScript/issues/2338
https://github.com/poelstra
Martin Poelstra (poelstra)https://github.com/poelstra
on Apr 21, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-94838442
basarat/typescript-node@22d703ahttps://github.com/basarat/typescript-node/commit/22d703a44ee72558eecd0cd45a3b2f5ab3382880
External module resolution logic #2338https://github.com/microsoft/TypeScript/issues/2338
External module resolution logic #2338https://github.com/microsoft/TypeScript/issues/2338
https://github.com/mhfrantz
Matt Frantz (mhfrantz)https://github.com/mhfrantz
on Apr 22, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-94996554
https://github.com/poelstra
Martin Poelstra (poelstra)https://github.com/poelstra
on Apr 22, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-95080270
Matt Frantz (@mhfrantz)https://github.com/mhfrantz
Node's docshttps://nodejs.org/api/modules.html#modules_core_modules
Generate a single declaration file for external modules #2568https://github.com/microsoft/TypeScript/issues/2568
specifying other reposhttps://github.com/DefinitelyTyped/tsd#tsdjson
#2338https://github.com/microsoft/TypeScript/issues/2338
https://github.com/poelstra
Martin Poelstra (poelstra)https://github.com/poelstra
on Apr 22, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-95080640
https://github.com/poelstra
Martin Poelstra (poelstra)https://github.com/poelstra
on Apr 22, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-95230327
Matt Frantz (@mhfrantz)https://github.com/mhfrantz
basarat/typescript-node@467b8b0https://github.com/basarat/typescript-node/commit/467b8b0a235de9ac9fa6b31ee4a5a001d3bdc654
External module resolution logic #2338https://github.com/microsoft/TypeScript/issues/2338
https://github.com/poelstra
Martin Poelstra (poelstra)https://github.com/poelstra
on Apr 23, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-95570246
Matt Frantz (@mhfrantz)https://github.com/mhfrantz
suggestion you hadhttps://github.com/basarat/typescript-node/commit/467b8b0a235de9ac9fa6b31ee4a5a001d3bdc654#inlinecommitcomment-10851437
https://github.com/MicahZoltu
Micah Zoltu (MicahZoltu)https://github.com/MicahZoltu
on May 3, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-98541643
#2338https://github.com/microsoft/TypeScript/issues/2338
https://github.com/poelstra
Martin Poelstra (poelstra)https://github.com/poelstra
on May 4, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-98707586
https://github.com/MicahZoltu
Micah Zoltu (MicahZoltu)https://github.com/MicahZoltu
on May 16, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-102570213
https://github.com/MicahZoltu
Micah Zoltu (MicahZoltu)https://github.com/MicahZoltu
on May 16, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-102570949
Martin Poelstra (@poelstra)https://github.com/poelstra
https://github.com/poelstra
Martin Poelstra (poelstra)https://github.com/poelstra
on May 20, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-104043021
https://github.com/MicahZoltu
Micah Zoltu (MicahZoltu)https://github.com/MicahZoltu
on May 22, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-104495059
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Sep 5, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-137992837
#4665https://github.com/microsoft/TypeScript/issues/4665
https://github.com/loucyx
Lou Cyx (loucyx)https://github.com/loucyx
on Sep 24, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-142810986
https://github.com/basarat
Basarat Ali Syed (basarat)https://github.com/basarat
on Sep 24, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-142811291
lucasmciruzzihttps://github.com/lucasmciruzzi
https://github.com/loucyx
Lou Cyx (loucyx)https://github.com/loucyx
on Sep 24, 2015https://github.com/microsoft/TypeScript/issues/2839#issuecomment-142812051
Basarat Ali Syed (@basarat)https://github.com/basarat
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
on Dec 10, 2015https://github.com/microsoft/TypeScript/issues/2839#event-487719449
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
@typesRelates to working with .d.ts files (declaration/definition files) from DefinitelyTypedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22%40types%22
on Feb 22, 2016https://github.com/microsoft/TypeScript/issues/2839#event-560144231
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Feb 22, 2016https://github.com/microsoft/TypeScript/issues/2839#event-560144335
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/2839#issuecomment-234417131
#4673 (comment)https://github.com/microsoft/TypeScript/issues/4673#issuecomment-234416673
blog announcementhttps://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/
discussion threadhttps://github.com/Microsoft/TypeScript/issues/9184
handbook documentation for authoring declaration fileshttps://github.com/Microsoft/TypeScript-Handbook/blob/master/pages/declaration%20files/Introduction.md
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/2839#event-731141706
microsofthttps://github.com/microsoft
on Jun 18, 2018https://github.com/microsoft/TypeScript/issues/2839#event-1686930775
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/2839
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/2839
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
@typesRelates to working with .d.ts files (declaration/definition files) from DefinitelyTypedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22%40types%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.