Update file-like-object.class.ts
The "rawFile" variable should be annotated by "any", because it's an object in actual use. Otherwise, using “rawFile.xx” leads to tsLint's error
This commit is contained in:
@@ -7,7 +7,7 @@ export class FileLikeObject {
|
|||||||
public size: any;
|
public size: any;
|
||||||
public type: string;
|
public type: string;
|
||||||
public name: string;
|
public name: string;
|
||||||
public rawFile: string;
|
public rawFile: any;
|
||||||
|
|
||||||
public constructor(fileOrInput: any) {
|
public constructor(fileOrInput: any) {
|
||||||
this.rawFile = fileOrInput;
|
this.rawFile = fileOrInput;
|
||||||
|
|||||||
Reference in New Issue
Block a user