{"action":"created","comment":{"url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls/comments/287167001","pull_request_review_id":241492828,"id":287167001,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4NzE2NzAwMQ==","diff_hunk":"@@ -209,6 +203,34 @@ export class LuaTransformer {\n         }\n     }\n \n+    public transformDeclareStatement(node: ts.Statement): StatementVisitResult {","path":"src/LuaTransformer.ts","position":38,"original_position":38,"commit_id":"60130f006e025ea4f2d2a6d083287cc0246b7e7a","original_commit_id":"60130f006e025ea4f2d2a6d083287cc0246b7e7a","user":{"login":"ark120202","id":11750369,"node_id":"MDQ6VXNlcjExNzUwMzY5","avatar_url":"https://avatars0.githubusercontent.com/u/11750369?v=4","gravatar_id":"","url":"https://api.github.com/users/ark120202","html_url":"https://github.com/ark120202","followers_url":"https://api.github.com/users/ark120202/followers","following_url":"https://api.github.com/users/ark120202/following{/other_user}","gists_url":"https://api.github.com/users/ark120202/gists{/gist_id}","starred_url":"https://api.github.com/users/ark120202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ark120202/subscriptions","organizations_url":"https://api.github.com/users/ark120202/orgs","repos_url":"https://api.github.com/users/ark120202/repos","events_url":"https://api.github.com/users/ark120202/events{/privacy}","received_events_url":"https://api.github.com/users/ark120202/received_events","type":"User","site_admin":false},"body":"IMO we shouldn't do this anymore. First, it would be quite a surprising behavior if some code would work in .d.ts  files (since we don't transform them) and won't in regular. Second, it's pretty much valid to declare it, because it also may be used to augment _G type.","created_at":"2019-05-23T23:15:21Z","updated_at":"2019-05-23T23:15:21Z","html_url":"https://github.com/TypeScriptToLua/TypeScriptToLua/pull/586#discussion_r287167001","pull_request_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls/586","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls/comments/287167001"},"html":{"href":"https://github.com/TypeScriptToLua/TypeScriptToLua/pull/586#discussion_r287167001"},"pull_request":{"href":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls/586"}}},"pull_request":{"url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls/586","id":280174643,"node_id":"MDExOlB1bGxSZXF1ZXN0MjgwMTc0NjQz","html_url":"https://github.com/TypeScriptToLua/TypeScriptToLua/pull/586","diff_url":"https://github.com/TypeScriptToLua/TypeScriptToLua/pull/586.diff","patch_url":"https://github.com/TypeScriptToLua/TypeScriptToLua/pull/586.patch","issue_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/issues/586","number":586,"state":"open","locked":false,"title":"fixed usage of lua keywords as property names","user":{"login":"tomblind","id":26638278,"node_id":"MDQ6VXNlcjI2NjM4Mjc4","avatar_url":"https://avatars3.githubusercontent.com/u/26638278?v=4","gravatar_id":"","url":"https://api.github.com/users/tomblind","html_url":"https://github.com/tomblind","followers_url":"https://api.github.com/users/tomblind/followers","following_url":"https://api.github.com/users/tomblind/following{/other_user}","gists_url":"https://api.github.com/users/tomblind/gists{/gist_id}","starred_url":"https://api.github.com/users/tomblind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomblind/subscriptions","organizations_url":"https://api.github.com/users/tomblind/orgs","repos_url":"https://api.github.com/users/tomblind/repos","events_url":"https://api.github.com/users/tomblind/events{/privacy}","received_events_url":"https://api.github.com/users/tomblind/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-05-19T14:58:52Z","updated_at":"2019-05-23T23:15:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71f150baa4840ef96bad8a6a6d885b7e7e4d0018","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls/586/commits","review_comments_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls/586/comments","review_comment_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/issues/586/comments","statuses_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/statuses/60130f006e025ea4f2d2a6d083287cc0246b7e7a","head":{"label":"TypeScriptToLua:lua-keyword-property-names","ref":"lua-keyword-property-names","sha":"60130f006e025ea4f2d2a6d083287cc0246b7e7a","user":{"login":"TypeScriptToLua","id":44121206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTIxMjA2","avatar_url":"https://avatars2.githubusercontent.com/u/44121206?v=4","gravatar_id":"","url":"https://api.github.com/users/TypeScriptToLua","html_url":"https://github.com/TypeScriptToLua","followers_url":"https://api.github.com/users/TypeScriptToLua/followers","following_url":"https://api.github.com/users/TypeScriptToLua/following{/other_user}","gists_url":"https://api.github.com/users/TypeScriptToLua/gists{/gist_id}","starred_url":"https://api.github.com/users/TypeScriptToLua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TypeScriptToLua/subscriptions","organizations_url":"https://api.github.com/users/TypeScriptToLua/orgs","repos_url":"https://api.github.com/users/TypeScriptToLua/repos","events_url":"https://api.github.com/users/TypeScriptToLua/events{/privacy}","received_events_url":"https://api.github.com/users/TypeScriptToLua/received_events","type":"Organization","site_admin":false},"repo":{"id":115876595,"node_id":"MDEwOlJlcG9zaXRvcnkxMTU4NzY1OTU=","name":"TypeScriptToLua","full_name":"TypeScriptToLua/TypeScriptToLua","private":false,"owner":{"login":"TypeScriptToLua","id":44121206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTIxMjA2","avatar_url":"https://avatars2.githubusercontent.com/u/44121206?v=4","gravatar_id":"","url":"https://api.github.com/users/TypeScriptToLua","html_url":"https://github.com/TypeScriptToLua","followers_url":"https://api.github.com/users/TypeScriptToLua/followers","following_url":"https://api.github.com/users/TypeScriptToLua/following{/other_user}","gists_url":"https://api.github.com/users/TypeScriptToLua/gists{/gist_id}","starred_url":"https://api.github.com/users/TypeScriptToLua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TypeScriptToLua/subscriptions","organizations_url":"https://api.github.com/users/TypeScriptToLua/orgs","repos_url":"https://api.github.com/users/TypeScriptToLua/repos","events_url":"https://api.github.com/users/TypeScriptToLua/events{/privacy}","received_events_url":"https://api.github.com/users/TypeScriptToLua/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/TypeScriptToLua/TypeScriptToLua","description":"Typescript to lua transpiler. https://typescripttolua.github.io/","fork":false,"url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua","forks_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/forks","keys_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/teams","hooks_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/hooks","issue_events_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/issues/events{/number}","events_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/events","assignees_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/assignees{/user}","branches_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/branches{/branch}","tags_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/tags","blobs_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/git/refs{/sha}","trees_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/statuses/{sha}","languages_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/languages","stargazers_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/stargazers","contributors_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/contributors","subscribers_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/subscribers","subscription_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/subscription","commits_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/commits{/sha}","git_commits_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/git/commits{/sha}","comments_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/comments{/number}","issue_comment_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/issues/comments{/number}","contents_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/contents/{+path}","compare_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/merges","archive_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/downloads","issues_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/issues{/number}","pulls_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls{/number}","milestones_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/milestones{/number}","notifications_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/labels{/name}","releases_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/releases{/id}","deployments_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/deployments","created_at":"2017-12-31T17:26:03Z","updated_at":"2019-05-23T19:21:49Z","pushed_at":"2019-05-23T20:35:05Z","git_url":"git://github.com/TypeScriptToLua/TypeScriptToLua.git","ssh_url":"git@github.com:TypeScriptToLua/TypeScriptToLua.git","clone_url":"https://github.com/TypeScriptToLua/TypeScriptToLua.git","svn_url":"https://github.com/TypeScriptToLua/TypeScriptToLua","homepage":"","size":2936,"stargazers_count":174,"watchers_count":174,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":55,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":26,"open_issues":55,"watchers":174,"default_branch":"master"}},"base":{"label":"TypeScriptToLua:master","ref":"master","sha":"026317c55f3c1683bf93b455a51d99ad3112bebb","user":{"login":"TypeScriptToLua","id":44121206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTIxMjA2","avatar_url":"https://avatars2.githubusercontent.com/u/44121206?v=4","gravatar_id":"","url":"https://api.github.com/users/TypeScriptToLua","html_url":"https://github.com/TypeScriptToLua","followers_url":"https://api.github.com/users/TypeScriptToLua/followers","following_url":"https://api.github.com/users/TypeScriptToLua/following{/other_user}","gists_url":"https://api.github.com/users/TypeScriptToLua/gists{/gist_id}","starred_url":"https://api.github.com/users/TypeScriptToLua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TypeScriptToLua/subscriptions","organizations_url":"https://api.github.com/users/TypeScriptToLua/orgs","repos_url":"https://api.github.com/users/TypeScriptToLua/repos","events_url":"https://api.github.com/users/TypeScriptToLua/events{/privacy}","received_events_url":"https://api.github.com/users/TypeScriptToLua/received_events","type":"Organization","site_admin":false},"repo":{"id":115876595,"node_id":"MDEwOlJlcG9zaXRvcnkxMTU4NzY1OTU=","name":"TypeScriptToLua","full_name":"TypeScriptToLua/TypeScriptToLua","private":false,"owner":{"login":"TypeScriptToLua","id":44121206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MTIxMjA2","avatar_url":"https://avatars2.githubusercontent.com/u/44121206?v=4","gravatar_id":"","url":"https://api.github.com/users/TypeScriptToLua","html_url":"https://github.com/TypeScriptToLua","followers_url":"https://api.github.com/users/TypeScriptToLua/followers","following_url":"https://api.github.com/users/TypeScriptToLua/following{/other_user}","gists_url":"https://api.github.com/users/TypeScriptToLua/gists{/gist_id}","starred_url":"https://api.github.com/users/TypeScriptToLua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TypeScriptToLua/subscriptions","organizations_url":"https://api.github.com/users/TypeScriptToLua/orgs","repos_url":"https://api.github.com/users/TypeScriptToLua/repos","events_url":"https://api.github.com/users/TypeScriptToLua/events{/privacy}","received_events_url":"https://api.github.com/users/TypeScriptToLua/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/TypeScriptToLua/TypeScriptToLua","description":"Typescript to lua transpiler. https://typescripttolua.github.io/","fork":false,"url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua","forks_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/forks","keys_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/teams","hooks_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/hooks","issue_events_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/issues/events{/number}","events_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/events","assignees_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/assignees{/user}","branches_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/branches{/branch}","tags_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/tags","blobs_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/git/refs{/sha}","trees_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/statuses/{sha}","languages_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/languages","stargazers_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/stargazers","contributors_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/contributors","subscribers_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/subscribers","subscription_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/subscription","commits_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/commits{/sha}","git_commits_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/git/commits{/sha}","comments_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/comments{/number}","issue_comment_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/issues/comments{/number}","contents_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/contents/{+path}","compare_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/merges","archive_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/downloads","issues_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/issues{/number}","pulls_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls{/number}","milestones_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/milestones{/number}","notifications_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/labels{/name}","releases_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/releases{/id}","deployments_url":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/deployments","created_at":"2017-12-31T17:26:03Z","updated_at":"2019-05-23T19:21:49Z","pushed_at":"2019-05-23T20:35:05Z","git_url":"git://github.com/TypeScriptToLua/TypeScriptToLua.git","ssh_url":"git@github.com:TypeScriptToLua/TypeScriptToLua.git","clone_url":"https://github.com/TypeScriptToLua/TypeScriptToLua.git","svn_url":"https://github.com/TypeScriptToLua/TypeScriptToLua","homepage":"","size":2936,"stargazers_count":174,"watchers_count":174,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":55,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":26,"open_issues":55,"watchers":174,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls/586"},"html":{"href":"https://github.com/TypeScriptToLua/TypeScriptToLua/pull/586"},"issue":{"href":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/issues/586"},"comments":{"href":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/issues/586/comments"},"review_comments":{"href":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls/586/comments"},"review_comment":{"href":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/pulls/586/commits"},"statuses":{"href":"https://api.github.com/repos/TypeScriptToLua/TypeScriptToLua/statuses/60130f006e025ea4f2d2a6d083287cc0246b7e7a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ark120202"}}