{"action":"reopened","issue":{"url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/4145","labels_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/4145/labels{/name}","comments_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/4145/comments","events_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/4145/events","html_url":"https://github.com/borisyankov/DefinitelyTyped/issues/4145","id":69333040,"number":4145,"title":"angular-file-upload.d.ts bad file attribute definition","user":{"login":"nfantone","id":476069,"avatar_url":"https://avatars.githubusercontent.com/u/476069?v=3","gravatar_id":"","url":"https://api.github.com/users/nfantone","html_url":"https://github.com/nfantone","followers_url":"https://api.github.com/users/nfantone/followers","following_url":"https://api.github.com/users/nfantone/following{/other_user}","gists_url":"https://api.github.com/users/nfantone/gists{/gist_id}","starred_url":"https://api.github.com/users/nfantone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfantone/subscriptions","organizations_url":"https://api.github.com/users/nfantone/orgs","repos_url":"https://api.github.com/users/nfantone/repos","events_url":"https://api.github.com/users/nfantone/events{/privacy}","received_events_url":"https://api.github.com/users/nfantone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-18T18:06:50Z","updated_at":"2015-04-20T01:46:38Z","closed_at":null,"body":"`angular-file-upload.d.ts` declares `IFileUploadConfig` as:\r\n\r\n```javascript\r\n interface IFileUploadConfig extends ng.IRequestConfig {\r\n\r\n        file: File;\r\n        fileName?: string;\r\n    }\r\n```\r\n\r\nBut `file` should really be: `file: File | File[];` as per the [official documentation](https://github.com/danialfarid/ng-file-upload#upload-service):\r\n\r\n>var upload = $upload.upload({\r\n  *url: 'server/upload/url', // upload.php script, node.js route, or servlet url\r\n  *file: file,  // single file or an array of files (array is for html5 only)\r\n  ...\r\n"}}