From b5dfc0a2cbce3b94336c31e72db2de1fa1b44a4b Mon Sep 17 00:00:00 2001 From: Per Fryking Date: Thu, 30 Apr 2026 14:24:40 +0200 Subject: [PATCH] fix(types): add referrerPolicy to ImgHTMLAttributes Mirror the existing declarations on AnchorHTMLAttributes and IframeHTMLAttributes so type-checks without an `as any` cast. The ReferrerPolicy type is provided by the TypeScript DOM lib; no runtime impact. fixes: #6692 --- src/declarations/stencil-public-runtime.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/declarations/stencil-public-runtime.ts b/src/declarations/stencil-public-runtime.ts index f0e915269f7..c28b9782b52 100644 --- a/src/declarations/stencil-public-runtime.ts +++ b/src/declarations/stencil-public-runtime.ts @@ -1206,6 +1206,7 @@ export namespace JSXBase { importance?: 'low' | 'auto' | 'high'; height?: number | string; loading?: 'lazy' | 'auto' | 'eager'; + referrerPolicy?: ReferrerPolicy; sizes?: string; src?: string; srcSet?: string;