26 lines
554 B
TypeScript
26 lines
554 B
TypeScript
|
|
import File from '../../file/File.js';
|
||
|
|
/**
|
||
|
|
* FileList.
|
||
|
|
*
|
||
|
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/FileList
|
||
|
|
*/
|
||
|
|
export default class FileList extends Array<File> {
|
||
|
|
/**
|
||
|
|
* Constructor.
|
||
|
|
*/
|
||
|
|
constructor();
|
||
|
|
/**
|
||
|
|
* Returns `Symbol.toStringTag`.
|
||
|
|
*
|
||
|
|
* @returns `Symbol.toStringTag`.
|
||
|
|
*/
|
||
|
|
get [Symbol.toStringTag](): string;
|
||
|
|
/**
|
||
|
|
* Returns item by index.
|
||
|
|
*
|
||
|
|
* @param index Index.
|
||
|
|
* @returns Item.
|
||
|
|
*/
|
||
|
|
item(index: number): File | null;
|
||
|
|
}
|
||
|
|
//# sourceMappingURL=FileList.d.ts.map
|