{"action":"created","issue":{"url":"https://api.github.com/repos/processing/p5.js/issues/2980","repository_url":"https://api.github.com/repos/processing/p5.js","labels_url":"https://api.github.com/repos/processing/p5.js/issues/2980/labels{/name}","comments_url":"https://api.github.com/repos/processing/p5.js/issues/2980/comments","events_url":"https://api.github.com/repos/processing/p5.js/issues/2980/events","html_url":"https://github.com/processing/p5.js/issues/2980","id":329816200,"node_id":"MDU6SXNzdWUzMjk4MTYyMDA=","number":2980,"title":"Add global modes to p5.d.ts","user":{"login":"DatoIsko","id":9803553,"node_id":"MDQ6VXNlcjk4MDM1NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/9803553?v=4","gravatar_id":"","url":"https://api.github.com/users/DatoIsko","html_url":"https://github.com/DatoIsko","followers_url":"https://api.github.com/users/DatoIsko/followers","following_url":"https://api.github.com/users/DatoIsko/following{/other_user}","gists_url":"https://api.github.com/users/DatoIsko/gists{/gist_id}","starred_url":"https://api.github.com/users/DatoIsko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DatoIsko/subscriptions","organizations_url":"https://api.github.com/users/DatoIsko/orgs","repos_url":"https://api.github.com/users/DatoIsko/repos","events_url":"https://api.github.com/users/DatoIsko/events{/privacy}","received_events_url":"https://api.github.com/users/DatoIsko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-06T10:53:14Z","updated_at":"2018-06-11T15:33:54Z","closed_at":"2018-06-11T15:33:54Z","author_association":"NONE","body":"///<reference path=\"p5.global-mode.d.ts\" />\r\n\r\nI think you should add `///<reference path=\"p5.global-mode.d.ts\" />` to top the p5.d.ts, because it's getting error."},"comment":{"url":"https://api.github.com/repos/processing/p5.js/issues/comments/396286202","html_url":"https://github.com/processing/p5.js/issues/2980#issuecomment-396286202","issue_url":"https://api.github.com/repos/processing/p5.js/issues/2980","id":396286202,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjI4NjIwMg==","user":{"login":"Zalastax","id":908496,"node_id":"MDQ6VXNlcjkwODQ5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/908496?v=4","gravatar_id":"","url":"https://api.github.com/users/Zalastax","html_url":"https://github.com/Zalastax","followers_url":"https://api.github.com/users/Zalastax/followers","following_url":"https://api.github.com/users/Zalastax/following{/other_user}","gists_url":"https://api.github.com/users/Zalastax/gists{/gist_id}","starred_url":"https://api.github.com/users/Zalastax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zalastax/subscriptions","organizations_url":"https://api.github.com/users/Zalastax/orgs","repos_url":"https://api.github.com/users/Zalastax/repos","events_url":"https://api.github.com/users/Zalastax/events{/privacy}","received_events_url":"https://api.github.com/users/Zalastax/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T15:33:54Z","updated_at":"2018-06-11T15:33:54Z","author_association":"CONTRIBUTOR","body":"We are migrating the TypeScript definitions to a [new repo](https://github.com/p5-types/p5.ts/), see #2571.\r\nSoon you will be able to import the definitions via a `@types/p5.js` package.\r\nThis problem should already be fixed in the new repo 😃 "}}
{"actor":{"display_login":"Zalastax"}}