{"action":"closed","issue":{"url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/22","repository_url":"https://api.github.com/repos/Evertras/typescript-cs-poco","labels_url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/22/comments","events_url":"https://api.github.com/repos/Evertras/typescript-cs-poco/issues/22/events","html_url":"https://github.com/Evertras/typescript-cs-poco/issues/22","id":149984409,"number":22,"title":"Class inheritance and \"prefix with I\" option","user":{"login":"mailivore","id":2284207,"avatar_url":"https://avatars.githubusercontent.com/u/2284207?v=3","gravatar_id":"","url":"https://api.github.com/users/mailivore","html_url":"https://github.com/mailivore","followers_url":"https://api.github.com/users/mailivore/followers","following_url":"https://api.github.com/users/mailivore/following{/other_user}","gists_url":"https://api.github.com/users/mailivore/gists{/gist_id}","starred_url":"https://api.github.com/users/mailivore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailivore/subscriptions","organizations_url":"https://api.github.com/users/mailivore/orgs","repos_url":"https://api.github.com/users/mailivore/repos","events_url":"https://api.github.com/users/mailivore/events{/privacy}","received_events_url":"https://api.github.com/users/mailivore/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-21T06:59:14Z","updated_at":"2016-05-25T17:18:36Z","closed_at":"2016-05-25T17:18:36Z","body":"Hi, thanks for your generator, it is soooooo nice but I have a small problem.\r\n\r\nLet's consider I would create an abstract class that will be used as a base for all of my other classes : \r\n\r\n```\r\npublic abstract class Base\r\n{\r\n        public bool deleted { get; set; }\r\n}\r\n\r\npublic class Meeting : Base\r\n{\r\n        public DateTime Day { get; set; }\r\n}\r\n```\r\n\r\nThis would give me the following result : \r\n```\r\nexport interface IBase {\r\n        deleted: bool;\r\n}\r\nexport interface IMeeting extends Base {\r\n        Day : string;\r\n}\r\n```\r\n\r\nThe problem is that the generated IMeeting extends the \"Base\" class which is not defined but \"IBase\" is.\r\n\r\nOne workaround would be to disable the \"prefix with I\" option but I think this is a nice feature.\r\n\r\nCould you fix the name of the extended class when the \"prefix with I\" option is used?\r\n\r\nThanks."}}
{"actor":{"display_login":"Evertras"}}