{"action":"created","issue":{"url":"https://api.github.com/repos/OliverJAsh/decode-ts/issues/4","repository_url":"https://api.github.com/repos/OliverJAsh/decode-ts","labels_url":"https://api.github.com/repos/OliverJAsh/decode-ts/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/OliverJAsh/decode-ts/issues/4/comments","events_url":"https://api.github.com/repos/OliverJAsh/decode-ts/issues/4/events","html_url":"https://github.com/OliverJAsh/decode-ts/issues/4","id":302352505,"number":4,"title":"Export JsonDecodeError","user":{"login":"mlegenhausen","id":424493,"avatar_url":"https://avatars2.githubusercontent.com/u/424493?v=4","gravatar_id":"","url":"https://api.github.com/users/mlegenhausen","html_url":"https://github.com/mlegenhausen","followers_url":"https://api.github.com/users/mlegenhausen/followers","following_url":"https://api.github.com/users/mlegenhausen/following{/other_user}","gists_url":"https://api.github.com/users/mlegenhausen/gists{/gist_id}","starred_url":"https://api.github.com/users/mlegenhausen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlegenhausen/subscriptions","organizations_url":"https://api.github.com/users/mlegenhausen/orgs","repos_url":"https://api.github.com/users/mlegenhausen/repos","events_url":"https://api.github.com/users/mlegenhausen/events{/privacy}","received_events_url":"https://api.github.com/users/mlegenhausen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-05T15:50:58Z","updated_at":"2018-03-05T22:39:00Z","closed_at":null,"author_association":"NONE","body":"It would be nice if `JsonDecodeError` would be added to the public interface. That would allow me to reuse existing errors or even better to extend the union type for longer parsing pipelines. Currently I need to export it from `'decode-ts/target/types'`"},"comment":{"url":"https://api.github.com/repos/OliverJAsh/decode-ts/issues/comments/370593097","html_url":"https://github.com/OliverJAsh/decode-ts/issues/4#issuecomment-370593097","issue_url":"https://api.github.com/repos/OliverJAsh/decode-ts/issues/4","id":370593097,"user":{"login":"OliverJAsh","id":921609,"avatar_url":"https://avatars2.githubusercontent.com/u/921609?v=4","gravatar_id":"","url":"https://api.github.com/users/OliverJAsh","html_url":"https://github.com/OliverJAsh","followers_url":"https://api.github.com/users/OliverJAsh/followers","following_url":"https://api.github.com/users/OliverJAsh/following{/other_user}","gists_url":"https://api.github.com/users/OliverJAsh/gists{/gist_id}","starred_url":"https://api.github.com/users/OliverJAsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliverJAsh/subscriptions","organizations_url":"https://api.github.com/users/OliverJAsh/orgs","repos_url":"https://api.github.com/users/OliverJAsh/repos","events_url":"https://api.github.com/users/OliverJAsh/events{/privacy}","received_events_url":"https://api.github.com/users/OliverJAsh/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T22:39:00Z","updated_at":"2018-03-05T22:39:00Z","author_association":"OWNER","body":"Hi @mlegenhausen! So you would like to be able to do\r\n\r\n``` ts\r\nimport { JsonDecodeError } from 'decode-ts'\r\n```\r\n\r\ninstead of\r\n\r\n\r\n``` ts\r\nimport { JsonDecodeError } from 'decode-ts/target/types'\r\n```\r\n\r\n?\r\n\r\nI guess we can just add `export * from './types` to `index.ts`."}}
{"actor":{"display_login":"OliverJAsh"}}