fix: remove File.path
from types (#46177)
* fix: remove File.path from types Co-authored-by: Ben Demboski <demboskb@gmail.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * fixup! fix: remove File.path from types fix 'yarn install --frozen-lockfile' error Co-authored-by: Charles Kerr <charles@charleskerr.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
33bde96d73
commit
6927f649ee
3 changed files with 7 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue