You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/FileLike.ts
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,27 +2,27 @@ export interface FileLike {
2
2
/**
3
3
* Name of the file referenced by the File object.
4
4
*/
5
-
name: string
5
+
readonlyname: string
6
6
7
7
/**
8
8
* Returns the media type ([`MIME`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types)) of the file represented by a `File` object.
9
9
*/
10
-
type: string
10
+
readonlytype: string
11
11
12
12
/**
13
13
* Size of the file parts in bytes
14
14
*/
15
-
size: number
15
+
readonlysize: number
16
16
17
17
/**
18
18
* The last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight). Files without a known last modified date return the current date.
19
19
*/
20
-
lastModified: number
20
+
readonlylastModified: number
21
21
22
22
/**
23
23
* Returns a [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream) which upon reading returns the data contained within the [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File).
0 commit comments