Skip to content

Commit

Permalink
fix: any
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuri committed Jan 8, 2017
1 parent d159f4a commit 6992551
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ngx-uploader",
"description": "Angular File Uploader",
"version": "2.0.10",
"version": "2.0.11",
"license": "MIT",
"main": "index.js",
"typings": "index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/directives/ng-file-select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class NgFileSelectDirective implements OnChanges {
}

if (this.options.filterExtensions && this.options.allowedExtensions && this.files && this.files.length) {
this.files = [].filter.call(this.files, f => {
this.files = [].filter.call(this.files, (f: any) => {
if (this.options.allowedExtensions.indexOf(f.type) !== -1) {
return true;
}
Expand Down

0 comments on commit 6992551

Please sign in to comment.