From f277ba8b703037635bc7adee84d51eaf7dafd388 Mon Sep 17 00:00:00 2001 From: Florian Lefebvre Date: Tue, 3 Oct 2023 17:16:49 +0200 Subject: [PATCH] feat: expose partytown types (close #8723) (#8740) --- .changeset/tricky-otters-cross.md | 5 +++++ packages/integrations/partytown/src/index.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/tricky-otters-cross.md diff --git a/.changeset/tricky-otters-cross.md b/.changeset/tricky-otters-cross.md new file mode 100644 index 000000000..e104f78eb --- /dev/null +++ b/.changeset/tricky-otters-cross.md @@ -0,0 +1,5 @@ +--- +'@astrojs/partytown': patch +--- + +Expose types for TypeScript users diff --git a/packages/integrations/partytown/src/index.ts b/packages/integrations/partytown/src/index.ts index 13f7b1118..755026512 100644 --- a/packages/integrations/partytown/src/index.ts +++ b/packages/integrations/partytown/src/index.ts @@ -9,7 +9,7 @@ import { fileURLToPath } from 'node:url'; import sirv from './sirv.js'; const resolve = createRequire(import.meta.url).resolve; -type PartytownOptions = { +export type PartytownOptions = { config?: PartytownConfig; };