Commit a69badd
Add missing LogBox method declarations to LogBox.d.ts (#57472)
Summary:
Pull Request resolved: #57472
`LogBox.d.ts` declared only `ignoreLogs`, `ignoreAllLogs`, `install`, and `uninstall`, but the runtime `LogBox` object also exposes `isInstalled()` and `clearAllLogs()`. Add these two signatures so TypeScript consumers can call them without casting.
Changelog:
[General][Added] - Add `isInstalled()` and `clearAllLogs()` to the `LogBox` TypeScript declarations
Reviewed By: christophpurrer
Differential Revision: D110930249
fbshipit-source-id: a7b739266ebf02297797b47ff6931652a359d1cf1 parent c080619 commit a69badd
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
25 | 36 | | |
26 | 37 | | |
27 | 38 | | |
| |||
0 commit comments