Commit 3ed82f1
authored
fix(types): add referrerPolicy to ImgHTMLAttributes (#6694)
Mirror the existing declarations on AnchorHTMLAttributes and
IframeHTMLAttributes so <img referrerpolicy="..."> type-checks
without an `as any` cast. The ReferrerPolicy type is provided
by the TypeScript DOM lib; no runtime impact.
fixes: #66921 parent a1589d9 commit 3ed82f1
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1206 | 1206 | | |
1207 | 1207 | | |
1208 | 1208 | | |
| 1209 | + | |
1209 | 1210 | | |
1210 | 1211 | | |
1211 | 1212 | | |
| |||
0 commit comments