René's URL Explorer Experiment


Title: Path mappings based module resolution · Issue #5039 · microsoft/TypeScript · GitHub

Open Graph Title: Path mappings based module resolution · Issue #5039 · microsoft/TypeScript

X Title: Path mappings based module resolution · Issue #5039 · microsoft/TypeScript

Description: Proposed module resolution strategy UPDATE: proposal below is updated based on the results of the design meeting. Initial version can be found here. Primary differences: instead of having baseUrl as a separate module resolution strategy ...

Open Graph Description: Proposed module resolution strategy UPDATE: proposal below is updated based on the results of the design meeting. Initial version can be found here. Primary differences: instead of having baseUrl a...

X Description: Proposed module resolution strategy UPDATE: proposal below is updated based on the results of the design meeting. Initial version can be found here. Primary differences: instead of having baseUrl a...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Path mappings based module resolution","articleBody":"# Proposed module resolution strategy\n\n**UPDATE**: proposal below is updated based on the results of the design meeting. \nInitial version can be found [here](https://gist.github.com/vladima/725949fd9464e6a94771). \n\nPrimary differences:\n- instead of having `baseUrl` as a separate module resolution strategy we are introducing a set of properties\n  that will allow to customize resoluton process in existing resolution strategies but base strategy still is used as a fallback.\n- `rootDirs` are decoupled from the `baseUrl` and can be used without it.\n\nCurrently TypeScript supports two ways of resolving module names: `classic` (module name always resolves to a file, module are searched using a folder walk)\nand `node` (uses [rules](https://github.com/Microsoft/TypeScript/issues/2338) similar to [node module loader](https://nodejs.org/api/modules.html#modules_all_together), was introduced in TypeScript 1.6). \nThese approaches worked reasonably well but they were not able to model _baseUrl_ based mechanics used by\n[RequireJS](http://requirejs.org/docs/api.html#config-baseUrl) or [SystemJS](https://github.com/systemjs/systemjs/blob/master/docs/overview.md#baseurl). \n\nWe could introduce third type of module resolution that will fill this gap but this will mean that once user has started to use this new type then support to \ndiscover typings embedded in node modules (and distributed via `npm`) is lost. Effectively user that wanted both to use `baseUrl` to refer to modules defined inside the project\nand rely on `npm` to obtain modules with typings will have to choose what part of the system will be broken.\n\nInstead of doing this we'll allow to declare a set of properties that will augment existing module resolution strategies. These properties are:\n`baseUrl`, `paths` and `rootDirs` (`paths` can only be used if `baseUrl` is set). If at least one of these properties is defined then compiler will try to \nuse it to resolve module name and if it fail - will fallback to a default behavior for a current resolution strategy.\n\nAlso choice of resolution strategy determines what does it mean to load a module from a given path. To be more concrete given some module name `/a/b/c`:\n- `classic` resolver will check for the presense of files `/a/b/c.ts`, `/a/b/c.tsx` and `/a/b/c.d.ts`.\n- `node` resolver will first try to load module as file by probing the same files as `classic` and then try to load module from directory \n  (check `/a/b/c/index` with supported extension, then peek into `package.json` etc. More details can be found in [this issue](https://github.com/Microsoft/TypeScript/issues/2338))  \n# Properties\n- [baseUrl](#baseUrl)\n- [path mappings](#pathMappings)\n- [rootDirs](#rootDirs)\n## BaseUrl \u003ca id=\"baseUrl\">\u003c/a>\n\nAll non-rooted paths are computed relative to _baseUrl_. \nValue of _baseUrl_ is determined as either:\n- value of _baseUrl_ command line argument (if given path is relative it is computed based on current directory)\n- value of _baseUrl_ propery in 'tsconfig.json' (if given path is relative it is computed based on then location of 'tsconfig.json')\n## Path mappings \u003ca id=\"pathMappings\">\u003c/a>\n\nSometimes modules are not directly located under _baseUrl_. It is possible to control how locations are computed in such cases\nusing path mappings. Path mappings are specified using the following JSON structure:\n\n``` javascript\n{\n    \"paths\": {\n        \"pattern-1\": [\"list of substitutions\"],\n        \"pattern-2\": [\"list of substitutions\"],\n        ...\n        \"pattern-N\": [\"list of substitutions\"]\n    }\n}\n```\n\nPatterns and substitutions are strings that can have zero or one asteriks ('*'). \nInterpretation of both patterns and substitutions will be described in [Resolution process](#resolutionProcess) section.\n## Resolution process \u003ca id=\"resolutionProcess\">\u003c/a>\n\nNon-relative module names are resolved slightly differently comparing \nto relative (start with \"./\" or \"../\") and rooted module names (start with \"/\", drive name or schema). \n### Resolution of non-relative module names (mostly matches SystemJS)\n\n``` javascript\n\n// mimics path mappings in SystemJS\n// NOTE: moduleExists checks if file with any supported extension exists on disk\nfunction resolveNonRelativeModuleName(moduleName: string): string {\n    // check if module name should be used as-is or it should be mapped to different value\n    let longestMatchedPrefixLength = 0;\n    let matchedPattern: string;\n    let matchedWildcard: string;\n\n    for (let pattern in config.paths) {\n        assert(pattern.countOf('*') \u003c= 1);\n        let indexOfWildcard = pattern.indexOf('*'); \n        if (indexOfWildcard !== -1) {\n            // if pattern contains asterisk then asterisk acts as a capture group with a greedy matching\n            // i.e. for the string 'abbb' pattern 'a*b' will get 'bb' as '*'\n\n            // check if module name starts with prefix, ends with suffix and these two don't overlap\n            let prefix = pattern.substr(0, indexOfWildcard);\n            let suffix = pattern.substr(indexOfWildcard + 1);\n            if (moduleName.length >= prefix.length + suffix.length && \n                moduleName.startsWith(prefix) &&\n                moduleName.endsWith(suffix)) {\n\n                // use length of matched prefix as betterness criteria\n                if (longestMatchedPrefixLength \u003c prefix.length) {\n                    // save length of the prefix\n                    longestMatchedPrefixLength = prefix.length;\n                    // save matched pattern\n                    matchedPattern = pattern;\n                    // save matched wildcard content \n                    matchedWildcard = moduleName.substr(prefix.length, moduleName.length - suffix.length);\n                }\n            }\n        }\n        else {\n            // pattern does not contain asterisk - module name should exactly match pattern to succeed\n            if (pattern === moduleName) {\n                // save pattern\n                matchedPattern = pattern;\n                // drop saved wildcard match \n                matchedWildcard = undefined;\n                // exact match is found - can exit early \n                break;\n            }\n        }\n    }\n\n    if (!matchedPattern) {\n        // no pattern was matched so module name can be used as-is\n        let path = combine(baseUrl, moduleName);\n        return moduleExists(path) ? path : undefined;\n    }\n\n    // some pattern was matched - module name needs to be substituted\n    let substitutions = config.paths[matchedPattern].asArray();\n    for (let subst of substitutions) {\n        assert(substs.countOf('*') \u003c= 1);\n        // replace * in substitution with matched wildcard\n        let path = matchedWildcard ? subst.replace(\"*\", matchedWildcard) : subst;\n        // if substituion is a relative path - combine it with baseUrl\n        path = isRelative(path) ? combine(baseUrl, path) : path;\n        if (moduleExists(path)) {\n            return path;\n        }\n    }\n\n    return undefined;   \n}\n\n```\n### Resolution of relative module names\n#### Default resolution logic (matches SystemJS)\n\nRelative module names are computed treating location of source file that contains the import as base folder.\nPath mappings are not applied.\n\n``` javascript\nfunction resolveRelativeModuleName(moduleName: string, containingFile: string): string {\n    let path = combine(getDirectoryName(containingFile), moduleName);\n    return moduleExists(path) ? path : undefined;\n}\n```\n#### Using `rootDirs`\u003ca id=\"rootDirs\">\u003c/a>\n\n'rootDirs' allows the project to be spreaded across multiple locations and resolve modules with relative names as if multiple project roots were merged together in one folder. For example project contains source files that are located in different directories on then file system (not under the same root) but user still still prefers to use relative module names because in runtime such names can be successfully resolved due to bundling.\n\nFor example consider this project structure:\n\n```\n shared\n └── projects\n     └── project\n         └── src\n             ├── viewManager.ts (imports './views/view1')\n             └── views\n                 └── view2.ts (imports './view1')\n userFiles\n └── project\n     └── src\n         └── views\n             └── view1.ts (imports './view2')\n```\n\nLogically files in `userFiles/project` and `shared/projects/project` belong to the same project and\nafter build they indeed will be bundled together.\n\nIn order to support this we'll add configuration property \"rootDirs\":\n\n``` json\n{\n    \"rootDirs\": [\n        \"rootDir-1/\",\n        \"rootDir-2/\",\n        ...\n        \"rootDir-n/\"\n    ]\n}\n```\n\nThis property stores list of base folders, every folder name can be either absolute or relative. \nElements in `rootDirs` that represent non-absolute paths will be converted to absolute using location of tsconfig.json as a base folder - this is the common approach for all paths defined in tsconfig.json\n\n``` javascript\n///Algorithm for resolving relative module name\nfunction resolveRelativeModuleName(moduleName: string, containingFile: string): string {\n    // convert relative module name to absolute using location of containing file\n    // this step is exactly the same as when doing resolution without path mapping\n    let path = combine(getDirectoryName(containingFile), moduleName);\n\n    // convert absolute module name to non-relative\n    // try to find element in 'rootDirs' that is the longest prefix for \"path' and return path.substr(prefix.length) as non-relative name\n    let { matchingRootDir, nonRelativeName } = tryFindLongestPrefixAndReturnSuffix(rootDirs, path);\n    if (!matchingRootDir) {\n        // cannot extract non relative name\n        return undefined;\n    }\n    // first try to load module from initial location\n    if (moduleExists(path)) {\n        return path;\n    }\n    // then try other entries in rootDirs\n    for (const rootDir of rootDirs) {\n        if (rootDir === matchingRootDir) {\n            continue;\n        }\n        const candidate = combine(rootDir, nonRelativeName);\n        if (moduleExists(candidate)) {\n            return candidate;\n        }\n    }\n    // failure case\n    return undefined;\n}\n```\n\nConfiguration for the example above:\n\n``` json\n{\n    \"rootDirs\": [\n        \"userFiles/project/\",\n        \"/shared/projects/project/\"\n    ]\n}\n```\n### Example 1\n\n```\nprojectRoot\n├── folder1\n│   └── file1.ts (imports 'folder2/file2')\n├── folder2\n│   ├── file2.ts (imports './file3')\n│   └── file3.ts\n└── tsconfig.json\n\n```\n\n``` javascript\n// configuration in tsconfig.json\n{\n    \"baseUrl\": \".\"\n}\n```\n- import 'folder2/file2'\n  1. _baseUrl_ is specified in configuration and has value '.' -> _baseUrl_ is computed relative to \n     the location of tsconfig.json -> `projectRoot`\n  2. path mappings are not available -> path = moduleName\n  3. resolved module file name = combine(baseUrl, path) -> `projectRoot/folder2/file2.ts`\n- import './file3'\n  1. moduleName is relative and _rootDirs_ are not specified in configuration - compute module name\n     relative to the location of containing file: resolved module file name = `projectRoot/folder2/file3.ts`\n### Example 2\n\n```\nprojectRoot\n├── folder1\n│   ├── file1.ts (imports 'folder1/file2' and 'folder2/file3')\n│   └── file2.ts\n├── generated\n│   ├── folder1\n│   └── folder2\n│       └── file3.ts\n└── tsconfig.json\n\n```\n\n``` javascript\n// configuration in tsconfig.json\n{\n    \"baseUrl\": \".\",\n    \"paths\": {\n    \"*\": [\n            \"*\",\n            \"generated/*\" \n        ]\n    }\n}\n```\n- import 'folder1/file2'\n  1. _baseUrl_ is specified in configuration and has value '.' -> _baseUrl_ is computed relative to \n     the location of tsconfig.json -> `projectRoot`\n  2. configuration contains path mappings.\n  3. pattern '*' is matched and wildcard captures the whole module name\n  4. try first substitution in the list: '*' -> `folder1/file2`\n  5. result of substitution is relative name - combine it with _baseUrl_ -> `projectRoot/folder1/file2.ts`.\n     This file exists.\n- import 'folder2/file2'\n  1. _baseUrl_ is specified in configuration and has value '.' -> _baseUrl_ is computed relative to \n     the location of tsconfig.json and will be folder that contains tsconfig.json\n  2. configuration contains path mappings.\n  3. pattern '*' is matched and wildcard captures the whole module name\n  4. try first substitution in the list: '*' -> `folder2/file3`\n  5. result of substitution is relative name - combine it with _baseUrl_ -> `projectRoot/folder2/file3.ts`.\n     File does not exists, move to the second substitution\n  6. second substitution 'generated/*' -> `generated/folder2/file3` \n  7. result of substitution is relative name - combine it with _baseUrl_ -> `projectRoot/generated/folder2/file3.ts`.\n     File exists\n## Example 3\n\n```\nrootDir\n├── folder1\n│   └── file1.ts (imports './file2')\n├── generated\n│   ├── folder1\n│   │   ├── file2.ts\n│   │   └── file3.ts (imports '../folder1/file1')\n│   └── folder2\n└── tsconfig.json\n```\n\n``` javascript\n// configuration in tsconfig.json\n{\n    \"rootDirs\": [\n        \"./\",\n        \"./generated/\" \n    ],\n}\n```\n\nAll non-rooted entries in `rootDirs` are expanded using location of tsconfig.json as base location so after expansion `rootDirs` will\nlook like this:\n\n``` json\n    \"rootDirs\": [\n        \"rootDir/\",\n        \"rootDir/generated/\" \n    ],\n```\n- import './file2'\n  1. name is relative, first make it absolute using location of containing file as base location - `rootDir/folder1/file2`\n  2. for this string find the longest prefix in `rootDirs` - `rootDir/` and for this prefix compute as suffix - `folder1/file2`\n  3. since matching entry in `rootDirs` was found try to resolve module using `rootDir` - first check if `rootDir/folder1/file2` \n     can be resolved as module - such module does not exist\n  4. try remaining entries in `rootDirs` - check if module `rootDir/generated/folder1/file2` exists - yes.\n- import '../folder1/file1'\n  1. name is relative, first make it absolute using location of containing file as base location - `rootDir/generated/folder1/file1`\n  2. for this string find the longest prefix in `rootDirs` - `rootDir/generated` and for this prefix compute as suffix - `folder1/file1`\n  3. since matching entry in `rootDirs` was found try to resolve module using `rootDir` - first check if `rootDir/generated/folder1/file1` \n     can be resolved as module - such module does not exist\n  4. try remaining entries in `rootDirs` - check if module `rootDir/folder1/file1` exists - yes.\n","author":{"url":"https://github.com/vladima","@type":"Person","name":"vladima"},"datePublished":"2015-09-30T17:42:16Z","url":"https://github.com/microsoft/TypeScript/issues/5039"}

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:426044ba-089c-18fd-8084-f6d301a5c19c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9C1E:4CE06:1A0EED:226F15:6AFBB26C
html-safe-noncef56cb026ff6f6b9b70846ebf0572a6600c2e484b7a30905625fc92cbb05c7829
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzFFOjRDRTA2OjFBMEVFRDoyMjZGMTU6NkFGQkIyNkMiLCJ2aXNpdG9yX2lkIjoiODMxMjE2NzM0MjA5MTc3NjYyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0310bbb2ac1a04283c80ac591292a4fee32f18146e0de1e10bf88874e45a3d77
hovercard-subject-tagissue:109143324
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/5039/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f5a2eb52792f6b29bce932624d1da75faff408b334e3cd1219790b95fb11d28a/microsoft/TypeScript/issues/5039
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f5a2eb52792f6b29bce932624d1da75faff408b334e3cd1219790b95fb11d28a/microsoft/TypeScript/issues/5039
og:image:altProposed module resolution strategy UPDATE: proposal below is updated based on the results of the design meeting. Initial version can be found here. Primary differences: instead of having baseUrl a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevladima
hostnamegithub.com
expected-hostnamegithub.com
None2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c
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
releasee4cce0e99cf61481a318ff12c2e8580153a6c7c6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/5039#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F5039
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%2F5039
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/5039
Reloadhttps://github.com/microsoft/TypeScript/issues/5039
Reloadhttps://github.com/microsoft/TypeScript/issues/5039
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests334 (334)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/pulse
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/5039
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/5039
Path mappings based module resolutionhttps://github.com/microsoft/TypeScript/issues/5039#top
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
https://github.com/vladima
Vladimir Matveev (vladima)https://github.com/vladima
on Sep 30, 2015https://github.com/microsoft/TypeScript/issues/5039#issue-109143324
herehttps://gist.github.com/vladima/725949fd9464e6a94771
ruleshttps://github.com/Microsoft/TypeScript/issues/2338
node module loaderhttps://nodejs.org/api/modules.html#modules_all_together
RequireJShttp://requirejs.org/docs/api.html#config-baseUrl
SystemJShttps://github.com/systemjs/systemjs/blob/master/docs/overview.md#baseurl
this issuehttps://github.com/Microsoft/TypeScript/issues/2338
baseUrlhttps://github.com/microsoft/TypeScript/issues/5039#baseUrl
path mappingshttps://github.com/microsoft/TypeScript/issues/5039#pathMappings
rootDirshttps://github.com/microsoft/TypeScript/issues/5039#rootDirs
Resolution processhttps://github.com/microsoft/TypeScript/issues/5039#resolutionProcess
Nexthttps://github.com/microsoft/TypeScript/issues/5039?timeline_page=1
Vladimir Matveev (vladima)https://github.com/vladima
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
on Sep 30, 2015https://github.com/microsoft/TypeScript/issues/5039#event-423368452
https://github.com/mmv
Miguel Ventura (mmv)https://github.com/mmv
on Sep 30, 2015https://github.com/microsoft/TypeScript/issues/5039#issuecomment-144541921
https://github.com/kitsonk
Kitson Kelly (kitsonk)https://github.com/kitsonk
on Oct 1, 2015https://github.com/microsoft/TypeScript/issues/5039#issuecomment-144782071
AMD spec specifieshttps://github.com/amdjs/amdjs-api/blob/master/AMD.md#module-id-format-
baseUrlhttps://github.com/amdjs/amdjs-api/blob/master/CommonConfig.md#baseurl-
pathhttps://github.com/amdjs/amdjs-api/blob/master/CommonConfig.md#paths-
packageshttps://github.com/amdjs/amdjs-api/blob/master/CommonConfig.md#packages-
maphttps://github.com/amdjs/amdjs-api/blob/master/CommonConfig.md#map-
32 varieties of Colgatehttp://www.dannywhatmough.com/2012/04/04/colgate-has-32-varieties-of-toothpaste-why-does-it-exist/
https://github.com/vladima
Vladimir Matveev (vladima)https://github.com/vladima
on Oct 1, 2015https://github.com/microsoft/TypeScript/issues/5039#issuecomment-144784697
https://github.com/kitsonk
Kitson Kelly (kitsonk)https://github.com/kitsonk
on Oct 2, 2015https://github.com/microsoft/TypeScript/issues/5039#issuecomment-144995434
https://github.com/mprobst
Martin Probst (mprobst)https://github.com/mprobst
on Oct 2, 2015https://github.com/microsoft/TypeScript/issues/5039#issuecomment-145015506
Kitson Kelly (@kitsonk)https://github.com/kitsonk
Vladimir Matveev (@vladima)https://github.com/vladima
https://github.com/bryanforbes
Bryan Forbes (bryanforbes)https://github.com/bryanforbes
on Oct 2, 2015https://github.com/microsoft/TypeScript/issues/5039#issuecomment-145083118
Martin Probst (@mprobst)https://github.com/mprobst
https://github.com/mprobst
Martin Probst (mprobst)https://github.com/mprobst
on Oct 3, 2015https://github.com/microsoft/TypeScript/issues/5039#issuecomment-145261374
Bryan Forbes (@bryanforbes)https://github.com/bryanforbes
Vladimir Matveev (@vladima)https://github.com/vladima
https://github.com/bryanforbes
Bryan Forbes (bryanforbes)https://github.com/bryanforbes
on Oct 5, 2015https://github.com/microsoft/TypeScript/issues/5039#issuecomment-145607455
Martin Probst (@mprobst)https://github.com/mprobst
https://github.com/vladima
Vladimir Matveev (vladima)https://github.com/vladima
on Oct 5, 2015https://github.com/microsoft/TypeScript/issues/5039#issuecomment-145621664
https://github.com/rolandjitsu
Roland Groza (rolandjitsu)https://github.com/rolandjitsu
on Oct 17, 2015https://github.com/microsoft/TypeScript/issues/5039#issuecomment-148925774
https://github.com/alexdresko
Alex Dresko (alexdresko)https://github.com/alexdresko
on Oct 20, 2015https://github.com/microsoft/TypeScript/issues/5039#issuecomment-149660324
https://github.com/bryanforbes
Bryan Forbes (bryanforbes)https://github.com/bryanforbes
on Oct 20, 2015https://github.com/microsoft/TypeScript/issues/5039#issuecomment-149662951
Vladimir Matveev (@vladima)https://github.com/vladima
https://github.com/mprobst
Martin Probst (mprobst)https://github.com/mprobst
on Oct 20, 2015https://github.com/microsoft/TypeScript/issues/5039#issuecomment-149674629
Bryan Forbes (@bryanforbes)https://github.com/bryanforbes
https://github.com/bezreyhan
bezreyhanhttps://github.com/bezreyhan
on Aug 24, 2016https://github.com/microsoft/TypeScript/issues/5039#issuecomment-242185933
https://gist.github.com/ryanflorence/daafb1e3cb8ad740b346https://gist.github.com/ryanflorence/daafb1e3cb8ad740b346
https://github.com/mattyork
Matt York (mattyork)https://github.com/mattyork
on Sep 22, 2016https://github.com/microsoft/TypeScript/issues/5039#issuecomment-248970618
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Sep 22, 2016https://github.com/microsoft/TypeScript/issues/5039#issuecomment-248971716
https://github.com/asfernandes
Adriano dos Santos Fernandes (asfernandes)https://github.com/asfernandes
on Oct 21, 2016https://github.com/microsoft/TypeScript/issues/5039#issuecomment-255354271
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Oct 24, 2016https://github.com/microsoft/TypeScript/issues/5039#issuecomment-255846139
https://github.com/asfernandes
Adriano dos Santos Fernandes (asfernandes)https://github.com/asfernandes
on Oct 24, 2016https://github.com/microsoft/TypeScript/issues/5039#issuecomment-255865564
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Oct 24, 2016https://github.com/microsoft/TypeScript/issues/5039#issuecomment-255870508
#5039 (comment)https://github.com/microsoft/TypeScript/issues/5039#issuecomment-232470330
https://github.com/asfernandes
Adriano dos Santos Fernandes (asfernandes)https://github.com/asfernandes
on Oct 24, 2016https://github.com/microsoft/TypeScript/issues/5039#issuecomment-255892635
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Oct 24, 2016https://github.com/microsoft/TypeScript/issues/5039#issuecomment-255893691
https://github.com/sapjax
sapjax (sapjax)https://github.com/sapjax
on Sep 21, 2017https://github.com/microsoft/TypeScript/issues/5039#issuecomment-331103612
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/rochapablo
Pablo (rochapablo)https://github.com/rochapablo
on Sep 27, 2017https://github.com/microsoft/TypeScript/issues/5039#issuecomment-332607953
+1https://stackoverflow.com/questions/46451860/react-native-not-loading-build-folder
sapjax (@sapjax)https://github.com/sapjax
This is how I make it work (for now)https://gist.github.com/rochapablo/3fc1186acc744407fffcf4aa34a689fe
https://github.com/sapjax
sapjax (sapjax)https://github.com/sapjax
on Sep 28, 2017https://github.com/microsoft/TypeScript/issues/5039#issuecomment-332822635
Pablo (@rochapablo)https://github.com/rochapablo
https://github.com/ds300/react-native-typescript-transformerhttps://github.com/ds300/react-native-typescript-transformer
https://github.com/rochapablo
Pablo (rochapablo)https://github.com/rochapablo
on Sep 28, 2017https://github.com/microsoft/TypeScript/issues/5039#issuecomment-332843604
sapjax (@sapjax)https://github.com/sapjax
https://github.com/rochapablo
Pablo (rochapablo)https://github.com/rochapablo
on Oct 2, 2017https://github.com/microsoft/TypeScript/issues/5039#issuecomment-333645512
Felipe Torres (fforres) (@fforres)https://github.com/fforres
instructionshttps://github.com/ds300/react-native-typescript-transformer
microsofthttps://github.com/microsoft
on Jun 19, 2018https://github.com/microsoft/TypeScript/issues/5039#event-1689617738
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/5039
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/5039
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
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.