{"action":"created","issue":{"url":"https://api.github.com/repos/postcss/postcss/issues/1176","repository_url":"https://api.github.com/repos/postcss/postcss","labels_url":"https://api.github.com/repos/postcss/postcss/issues/1176/labels{/name}","comments_url":"https://api.github.com/repos/postcss/postcss/issues/1176/comments","events_url":"https://api.github.com/repos/postcss/postcss/issues/1176/events","html_url":"https://github.com/postcss/postcss/pull/1176","id":351392119,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MDAyNjQ2","number":1176,"title":"Update TypeScript definition of LazyResult","user":{"login":"plesiecki","id":770675,"node_id":"MDQ6VXNlcjc3MDY3NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/770675?v=4","gravatar_id":"","url":"https://api.github.com/users/plesiecki","html_url":"https://github.com/plesiecki","followers_url":"https://api.github.com/users/plesiecki/followers","following_url":"https://api.github.com/users/plesiecki/following{/other_user}","gists_url":"https://api.github.com/users/plesiecki/gists{/gist_id}","starred_url":"https://api.github.com/users/plesiecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plesiecki/subscriptions","organizations_url":"https://api.github.com/users/plesiecki/orgs","repos_url":"https://api.github.com/users/plesiecki/repos","events_url":"https://api.github.com/users/plesiecki/events{/privacy}","received_events_url":"https://api.github.com/users/plesiecki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-16T22:34:31Z","updated_at":"2018-08-16T23:16:37Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/postcss/postcss/pulls/1176","html_url":"https://github.com/postcss/postcss/pull/1176","diff_url":"https://github.com/postcss/postcss/pull/1176.diff","patch_url":"https://github.com/postcss/postcss/pull/1176.patch"},"body":"Hello @ai \r\n\r\nDo you mind adding `error` to ts defintion of `LazyResult`?\r\n\r\nI find it useful for testing.\r\n\r\nPeace :v: "},"comment":{"url":"https://api.github.com/repos/postcss/postcss/issues/comments/413712142","html_url":"https://github.com/postcss/postcss/pull/1176#issuecomment-413712142","issue_url":"https://api.github.com/repos/postcss/postcss/issues/1176","id":413712142,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzcxMjE0Mg==","user":{"login":"plesiecki","id":770675,"node_id":"MDQ6VXNlcjc3MDY3NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/770675?v=4","gravatar_id":"","url":"https://api.github.com/users/plesiecki","html_url":"https://github.com/plesiecki","followers_url":"https://api.github.com/users/plesiecki/followers","following_url":"https://api.github.com/users/plesiecki/following{/other_user}","gists_url":"https://api.github.com/users/plesiecki/gists{/gist_id}","starred_url":"https://api.github.com/users/plesiecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plesiecki/subscriptions","organizations_url":"https://api.github.com/users/plesiecki/orgs","repos_url":"https://api.github.com/users/plesiecki/repos","events_url":"https://api.github.com/users/plesiecki/events{/privacy}","received_events_url":"https://api.github.com/users/plesiecki/received_events","type":"User","site_admin":false},"created_at":"2018-08-16T23:16:37Z","updated_at":"2018-08-16T23:16:37Z","author_association":"NONE","body":"Forgot to mention in typescript right now I can't do this this way:\r\n```js\r\ntest('should error', async t => {\r\n    const error = await postcss(plugins).process(brokenCSS)\r\n\r\n    // assertions on error\r\n})\r\n```\r\nbecause of the current state of d.ts "}}
{"actor":{"display_login":"plesiecki"}}