Commit e2c7dcc
refactor(server-utils): Drop dead firestore types and no-explicit-any disable
Remove the unused `DocumentData` type, the unread `FirestoreSettings.ssl`
and `FirestoreLike.settings` members, and narrow the `toJSON` return to what
`buildAttributes` actually reads. Switching the `FirebaseOptions` index
signature to `unknown` lets the file drop its `no-explicit-any` eslint-disable.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 5ed0a41 commit e2c7dcc
2 files changed
Lines changed: 3 additions & 12 deletions
File tree
- packages/server-utils/src/integrations/tracing-channel/firebase
Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
8 | | - | |
| 6 | + | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
| |||
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
23 | | - | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 25 | + | |
34 | 26 | | |
35 | 27 | | |
36 | 28 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
| 85 | + | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
0 commit comments