{"action":"closed","issue":{"url":"https://api.github.com/repos/frhagn/Typewriter/issues/231","repository_url":"https://api.github.com/repos/frhagn/Typewriter","labels_url":"https://api.github.com/repos/frhagn/Typewriter/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/frhagn/Typewriter/issues/231/comments","events_url":"https://api.github.com/repos/frhagn/Typewriter/issues/231/events","html_url":"https://github.com/frhagn/Typewriter/issues/231","id":268371586,"number":231,"title":"ValueTuple not recognized","user":{"login":"mskovacic","id":7167241,"avatar_url":"https://avatars2.githubusercontent.com/u/7167241?v=4","gravatar_id":"","url":"https://api.github.com/users/mskovacic","html_url":"https://github.com/mskovacic","followers_url":"https://api.github.com/users/mskovacic/followers","following_url":"https://api.github.com/users/mskovacic/following{/other_user}","gists_url":"https://api.github.com/users/mskovacic/gists{/gist_id}","starred_url":"https://api.github.com/users/mskovacic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mskovacic/subscriptions","organizations_url":"https://api.github.com/users/mskovacic/orgs","repos_url":"https://api.github.com/users/mskovacic/repos","events_url":"https://api.github.com/users/mskovacic/events{/privacy}","received_events_url":"https://api.github.com/users/mskovacic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-25T12:04:27Z","updated_at":"2017-11-30T10:18:00Z","closed_at":"2017-11-30T10:18:00Z","author_association":"NONE","body":"C# ValueTuple type is neither recognized in tst file nor Typewriter output.\r\n\r\ninput C# file:\r\n```\r\n[GenerateAsTypeScriptClass]\r\npublic class MyDTO\r\n{\r\n    public (string a, string b) P { get; set; }\r\n}\r\n```\r\n\r\ngenerated TypeScript with default tst file:\r\n```\r\nclass MyDTO {\r\n    public p: \r\n}\r\n```\r\n\r\nWhen I change the tst file into\r\n```\r\n${\r\n    using Typewriter.Extensions.Types;\r\n    string TypeMap2(Property property)\r\n    {\r\n        var type = property.Type;\r\n        return type.FullName+ \";\";\r\n    }\r\n}\r\n\r\n$Classes([GenerateAsTypeScriptClass])[\r\n    class $Name {\r\n        $Properties[public $name: $TypeMap2][;\r\n        ]\r\n    }\r\n]\r\n```\r\n\r\nI get that ValueTuple isn't recognized even in the tst file, with the following output:\r\n```\r\nclass MyDTO {\r\n    public p: System.;\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"frhagn"}}