From 1c7f953b6ddbe213460eb2a1b8fff93402beff3d Mon Sep 17 00:00:00 2001 From: Alex Tompkins Date: Thu, 21 Nov 2024 14:54:15 +0100 Subject: [PATCH] Export all types, but better this time --- src/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index cdfa2cd..89fc7db 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3,6 +3,8 @@ import { h, render } from 'preact'; import DocumentViewer from './DocumentViewer'; import { AdyenDocumentViewerOptions, Document } from './types'; +export type * from './types'; + export default class AdyenDocumentViewer { private readonly target: HTMLElement; private readonly options: AdyenDocumentViewerOptions;