Repository navigation
Commit 435b3c4
committed
fix(frontend/api): cast PublicInfo via unknown for absent-field assertions
PublicInfo no longer includes api_key_secret_url or deployment_aws_account_id
(moved to DeploymentInfo by #633). The direct cast to Record<string,unknown>
therefore fails TS2352. Cast through unknown first to satisfy the type checker
while preserving the runtime assertion that these fields are absent.1 parent 063489a commit 435b3c4
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
974 | 974 | | |
975 | 975 | | |
976 | 976 | | |
977 | | - | |
978 | | - | |
| 977 | + | |
| 978 | + | |
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
| |||
0 commit comments