{"action":"created","issue":{"url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/14","labels_url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/14/comments","events_url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/14/events","html_url":"https://github.com/Evertras/typescript-cs-poco/issues/14","id":127278517,"number":14,"title":"Declare modifier required","user":{"login":"San7hos","id":8873385,"avatar_url":"https://avatars.githubusercontent.com/u/8873385?v=3","gravatar_id":"","url":"https://api.github.com/users/San7hos","html_url":"https://github.com/San7hos","followers_url":"https://api.github.com/users/San7hos/followers","following_url":"https://api.github.com/users/San7hos/following{/other_user}","gists_url":"https://api.github.com/users/San7hos/gists{/gist_id}","starred_url":"https://api.github.com/users/San7hos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/San7hos/subscriptions","organizations_url":"https://api.github.com/users/San7hos/orgs","repos_url":"https://api.github.com/users/San7hos/repos","events_url":"https://api.github.com/users/San7hos/events{/privacy}","received_events_url":"https://api.github.com/users/San7hos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-18T17:49:02Z","updated_at":"2016-01-18T18:04:28Z","closed_at":null,"body":"I am getting into one more problem with the TS compiler:\r\n\r\n- __Generated\\request.d.ts(1,1): error TS1046: A 'declare' modifier is required for a top level declaration in a .d.ts file.__\r\n- __Generated\\response.d.ts(1,1): error TS1046: A 'declare' modifier is required for a top level declaration in a .d.ts file.__"},"comment":{"url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/comments/172608338","html_url":"https://github.com/Evertras/typescript-cs-poco/issues/14#issuecomment-172608338","issue_url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/14","id":172608338,"user":{"login":"San7hos","id":8873385,"avatar_url":"https://avatars.githubusercontent.com/u/8873385?v=3","gravatar_id":"","url":"https://api.github.com/users/San7hos","html_url":"https://github.com/San7hos","followers_url":"https://api.github.com/users/San7hos/followers","following_url":"https://api.github.com/users/San7hos/following{/other_user}","gists_url":"https://api.github.com/users/San7hos/gists{/gist_id}","starred_url":"https://api.github.com/users/San7hos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/San7hos/subscriptions","organizations_url":"https://api.github.com/users/San7hos/orgs","repos_url":"https://api.github.com/users/San7hos/repos","events_url":"https://api.github.com/users/San7hos/events{/privacy}","received_events_url":"https://api.github.com/users/San7hos/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T18:04:28Z","updated_at":"2016-01-18T18:04:28Z","body":"Suggested solution is to change index.js line 165 to **var lines = ['declare module ' + options.baseNamespace + ' {'];**"}}