Commit 655d038
Fix FileReader.result type to include null
The TypeScript declaration for FileReader.result is typed as
string | ArrayBuffer, but the actual implementation returns null
when no read operation has completed or when the read was aborted.
This matches the WHATWG FileReader spec where result is null in
the EMPTY and LOADING states.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8bac1df commit 655d038
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | | - | |
| 670 | + | |
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
| |||
0 commit comments