{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4102","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4102/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4102/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4102/events","html_url":"https://github.com/Microsoft/TypeScript/issues/4102","id":98367160,"number":4102,"title":"Support pattern matching in <Reference> directives","user":{"login":"Davidhanson90","id":1564426,"avatar_url":"https://avatars.githubusercontent.com/u/1564426?v=3","gravatar_id":"","url":"https://api.github.com/users/Davidhanson90","html_url":"https://github.com/Davidhanson90","followers_url":"https://api.github.com/users/Davidhanson90/followers","following_url":"https://api.github.com/users/Davidhanson90/following{/other_user}","gists_url":"https://api.github.com/users/Davidhanson90/gists{/gist_id}","starred_url":"https://api.github.com/users/Davidhanson90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Davidhanson90/subscriptions","organizations_url":"https://api.github.com/users/Davidhanson90/orgs","repos_url":"https://api.github.com/users/Davidhanson90/repos","events_url":"https://api.github.com/users/Davidhanson90/events{/privacy}","received_events_url":"https://api.github.com/users/Davidhanson90/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Suggestion","name":"Suggestion","color":"006b75"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Too%20Complex","name":"Too Complex","color":"556677"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-31T10:55:07Z","updated_at":"2015-08-05T06:36:09Z","closed_at":"2015-07-31T19:25:53Z","body":"Hey all, \r\n\r\nMaybe this has been raised before but its something I would really like to see supported in TS.  Basically I would like the ability to support referencing TS files using patterns.  For example \r\n\r\nThis \r\n```\r\n/// <reference path=\"../../helpers/promiseHelper.ts\" />\r\n/// <reference path=\"../../helpers/loggingHelper.ts\" />\r\n```\r\ncould be \r\n```\r\n/// <reference path=\"../../helpers/*Helper.ts\" />\r\n```\r\nor folder patterns\r\n```\r\n/// <reference path=\"/app/specs/**/*.ts\" />\r\n```\r\n\r\nThoughts? "},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/127889787","html_url":"https://github.com/Microsoft/TypeScript/issues/4102#issuecomment-127889787","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4102","id":127889787,"user":{"login":"Davidhanson90","id":1564426,"avatar_url":"https://avatars.githubusercontent.com/u/1564426?v=3","gravatar_id":"","url":"https://api.github.com/users/Davidhanson90","html_url":"https://github.com/Davidhanson90","followers_url":"https://api.github.com/users/Davidhanson90/followers","following_url":"https://api.github.com/users/Davidhanson90/following{/other_user}","gists_url":"https://api.github.com/users/Davidhanson90/gists{/gist_id}","starred_url":"https://api.github.com/users/Davidhanson90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Davidhanson90/subscriptions","organizations_url":"https://api.github.com/users/Davidhanson90/orgs","repos_url":"https://api.github.com/users/Davidhanson90/repos","events_url":"https://api.github.com/users/Davidhanson90/events{/privacy}","received_events_url":"https://api.github.com/users/Davidhanson90/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T06:36:09Z","updated_at":"2015-08-05T06:36:09Z","body":"Yeah this is our current strategy, but this is just moving the location of the reference to a more local location to the file itself, you still have to manage them all still as well as managing the index file. \r\n"}}