{"action":"opened","issue":{"url":"https://api.github.com/repos/dsherret/ts-simple-ast/issues/421","repository_url":"https://api.github.com/repos/dsherret/ts-simple-ast","labels_url":"https://api.github.com/repos/dsherret/ts-simple-ast/issues/421/labels{/name}","comments_url":"https://api.github.com/repos/dsherret/ts-simple-ast/issues/421/comments","events_url":"https://api.github.com/repos/dsherret/ts-simple-ast/issues/421/events","html_url":"https://github.com/dsherret/ts-simple-ast/issues/421","id":360467532,"node_id":"MDU6SXNzdWUzNjA0Njc1MzI=","number":421,"title":"Adding an enum to a namespace with dot notation in the name causes brace to be lost","user":{"login":"dsherret","id":1609021,"node_id":"MDQ6VXNlcjE2MDkwMjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1609021?v=4","gravatar_id":"","url":"https://api.github.com/users/dsherret","html_url":"https://github.com/dsherret","followers_url":"https://api.github.com/users/dsherret/followers","following_url":"https://api.github.com/users/dsherret/following{/other_user}","gists_url":"https://api.github.com/users/dsherret/gists{/gist_id}","starred_url":"https://api.github.com/users/dsherret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsherret/subscriptions","organizations_url":"https://api.github.com/users/dsherret/orgs","repos_url":"https://api.github.com/users/dsherret/repos","events_url":"https://api.github.com/users/dsherret/events{/privacy}","received_events_url":"https://api.github.com/users/dsherret/received_events","type":"User","site_admin":false},"labels":[{"id":552803006,"node_id":"MDU6TGFiZWw1NTI4MDMwMDY=","url":"https://api.github.com/repos/dsherret/ts-simple-ast/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-14T21:59:01Z","updated_at":"2018-09-14T21:59:01Z","closed_at":null,"author_association":"OWNER","body":"```ts\r\nconst file = project.createSourceFile(\"test.ts\", \"namespace Test.Test {\\n}\");\r\nconst enumDec = file.getNamespaceOrThrow(\"Test.Test\").addEnum({ name: \"test\" });\r\n// \"namespace Test.Test {\\n    enum test {\\n    }\\n\"\r\nconsole.log(file.getFullText());\r\n```"}}
{"actor":{"display_login":"dsherret"}}