summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Florian Lefebvre <contact@florian-lefebvre.dev> 2023-10-03 17:16:49 +0200
committerGravatar GitHub <noreply@github.com> 2023-10-03 23:16:49 +0800
commitf277ba8b703037635bc7adee84d51eaf7dafd388 (patch)
treea6b12ab9a1bf475cb5d49026429541dbb054ed33
parent6f60da805e0014bc50dd07bef972e91c73560c3c (diff)
downloadastro-f277ba8b703037635bc7adee84d51eaf7dafd388.tar.gz
astro-f277ba8b703037635bc7adee84d51eaf7dafd388.tar.zst
astro-f277ba8b703037635bc7adee84d51eaf7dafd388.zip
feat: expose partytown types (close #8723) (#8740)
-rw-r--r--.changeset/tricky-otters-cross.md5
-rw-r--r--packages/integrations/partytown/src/index.ts2
2 files changed, 6 insertions, 1 deletions
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;
};