Commit ef903fd
committed
yama: tighten the hidden-fake criterion to curb false positives (review note)
Per review on #58: the 'fake string inside a shared *Types.res entry' blocking
criterion is judgment-heavy — an LLM could flag legitimately-string fields. Add
an explicit guard: only BLOCK after VERIFYING against the source .d.ts that the
TS type was genuinely richer and got narrowed; a field that is legitimately
`string` in TypeScript is not a violation.1 parent a7870ef commit ef903fd
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
0 commit comments