Commit a858519
committed
chore: narrow ParamsDeviceTracker type to 'android' only
ws-scrcpy-web is goog-only — iOS support was intentionally dropped long
before this fork (related to WdaStatus.ts, removed in the dead-code
sweep earlier this session). The 'android' | 'ios' union was vestigial
upstream-compat typing. Narrowing to 'android' also collapses the dead
branch in BaseDeviceTracker.parseParameters that accepted 'ios' and
would have fed it into code that only handles 'android'.
0 tsc errors, 89/89 tests pass.1 parent f9f06fc commit a858519
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
0 commit comments