fix: remove File.path from types (#46005)

This commit is contained in:
Shelley Vohr 2025-03-21 08:40:49 +01:00 committed by GitHub
parent 9ccc63d682
commit 603057b198
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 14 deletions

View file

@ -16,7 +16,7 @@ Returns `string` - The file system path that this `File` object points to. In th
This method superseded the previous augmentation to the `File` object with the `path` property. An example is included below.
```js
```js @ts-nocheck
// Before
const oldPath = document.querySelector('input').files[0].path