@fgv/ts-web-extras
Version:
Browser-compatible utilities and FileTree implementations
120 lines (54 loc) • 1.38 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@fgv/ts-web-extras](./ts-web-extras.md) > [FileSystemHandle\_2](./ts-web-extras.filesystemhandle_2.md)
## FileSystemHandle\_2 interface
Base interface for file system handles
**Signature:**
```typescript
export interface FileSystemHandle
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[kind](./ts-web-extras.filesystemhandle_2.kind.md)
</td><td>
`readonly`
</td><td>
'file' \| 'directory'
</td><td>
</td></tr>
<tr><td>
[name](./ts-web-extras.filesystemhandle_2.name.md)
</td><td>
`readonly`
</td><td>
string
</td><td>
</td></tr>
</tbody></table>
## Methods
<table><thead><tr><th>
Method
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[isSameEntry(other)](./ts-web-extras.filesystemhandle_2.issameentry.md)
</td><td>
</td></tr>
<tr><td>
[queryPermission(descriptor)](./ts-web-extras.filesystemhandle_2.querypermission.md)
</td><td>
</td></tr>
<tr><td>
[requestPermission(descriptor)](./ts-web-extras.filesystemhandle_2.requestpermission.md)
</td><td>
</td></tr>
</tbody></table>