file

The FileSystemFileEntry interface's method file() returns a the directory entry.

MDN Reference


val ERROR CLASS: Symbol not found for FileSystemHandleKind.Companion.file: FileSystemHandleKind.file(source)