summaryrefslogtreecommitdiff
path: root/packages/integrations/image/components/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/image/components/index.ts')
-rw-r--r--packages/integrations/image/components/index.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/integrations/image/components/index.ts b/packages/integrations/image/components/index.ts
index be0e10130..088278fc2 100644
--- a/packages/integrations/image/components/index.ts
+++ b/packages/integrations/image/components/index.ts
@@ -1,2 +1,7 @@
+/// <reference types="astro/astro-jsx" />
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'>;