{"action":"created","issue":{"url":"https://api.github.com/repos/clark-stevenson/p2.d.ts/issues/5","labels_url":"https://api.github.com/repos/clark-stevenson/p2.d.ts/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/clark-stevenson/p2.d.ts/issues/5/comments","events_url":"https://api.github.com/repos/clark-stevenson/p2.d.ts/issues/5/events","html_url":"https://github.com/clark-stevenson/p2.d.ts/issues/5","id":126615332,"number":5,"title":"Should we use Tuples instead of number[]?","user":{"login":"clark-stevenson","id":4239553,"avatar_url":"https://avatars.githubusercontent.com/u/4239553?v=3","gravatar_id":"","url":"https://api.github.com/users/clark-stevenson","html_url":"https://github.com/clark-stevenson","followers_url":"https://api.github.com/users/clark-stevenson/followers","following_url":"https://api.github.com/users/clark-stevenson/following{/other_user}","gists_url":"https://api.github.com/users/clark-stevenson/gists{/gist_id}","starred_url":"https://api.github.com/users/clark-stevenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clark-stevenson/subscriptions","organizations_url":"https://api.github.com/users/clark-stevenson/orgs","repos_url":"https://api.github.com/users/clark-stevenson/repos","events_url":"https://api.github.com/users/clark-stevenson/events{/privacy}","received_events_url":"https://api.github.com/users/clark-stevenson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-14T09:40:28Z","updated_at":"2016-01-24T22:26:42Z","closed_at":"2016-01-24T22:26:42Z","body":"\r\np2 uses an array length 2 of number type to define vector such as position.  number[] is annoying but works.\r\n\r\nDoes anyone have any issues with changing all number[] (in context) to something like this? I suppose finding the correct name is my problem since vec2 exists already as a class with static members.\r\n\r\n```typescript\r\nexport interface IVec2 extends Array<number | number> {\r\n        0?: number;\r\n        1?: number;\r\n}\r\n```\r\n\r\nAny opinion would be great."},"comment":{"url":"https://api.github.com/repos/clark-stevenson/p2.d.ts/issues/comments/174347212","html_url":"https://github.com/clark-stevenson/p2.d.ts/issues/5#issuecomment-174347212","issue_url":"https://api.github.com/repos/clark-stevenson/p2.d.ts/issues/5","id":174347212,"user":{"login":"clark-stevenson","id":4239553,"avatar_url":"https://avatars.githubusercontent.com/u/4239553?v=3","gravatar_id":"","url":"https://api.github.com/users/clark-stevenson","html_url":"https://github.com/clark-stevenson","followers_url":"https://api.github.com/users/clark-stevenson/followers","following_url":"https://api.github.com/users/clark-stevenson/following{/other_user}","gists_url":"https://api.github.com/users/clark-stevenson/gists{/gist_id}","starred_url":"https://api.github.com/users/clark-stevenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clark-stevenson/subscriptions","organizations_url":"https://api.github.com/users/clark-stevenson/orgs","repos_url":"https://api.github.com/users/clark-stevenson/repos","events_url":"https://api.github.com/users/clark-stevenson/events{/privacy}","received_events_url":"https://api.github.com/users/clark-stevenson/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T22:26:42Z","updated_at":"2016-01-24T22:26:42Z","body":"I used `[number, number]` happy medium."}}