diff options
Diffstat (limited to 'packages/integrations/image/components/index.ts')
-rw-r--r-- | packages/integrations/image/components/index.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/integrations/image/components/index.ts b/packages/integrations/image/components/index.ts index 088278fc2..89d8edd03 100644 --- a/packages/integrations/image/components/index.ts +++ b/packages/integrations/image/components/index.ts @@ -3,5 +3,11 @@ export { default as Image } from './Image.astro'; export { default as Picture } from './Picture.astro'; // TODO: should these directives be removed from astroHTML.JSX? -export type ImgHTMLAttributes = Omit<astroHTML.JSX.ImgHTMLAttributes, 'client:list' | 'set:text' | 'set:html' | 'is:raw'>; -export type HTMLAttributes = Omit<astroHTML.JSX.HTMLAttributes, 'client:list' | 'set:text' | 'set:html' | 'is:raw'>; +export type ImgHTMLAttributes = Omit< + astroHTML.JSX.ImgHTMLAttributes, + 'client:list' | 'set:text' | 'set:html' | 'is:raw' +>; +export type HTMLAttributes = Omit< + astroHTML.JSX.HTMLAttributes, + 'client:list' | 'set:text' | 'set:html' | 'is:raw' +>; |