feat: expose partytown types (close #8723) (#8740)

This commit is contained in:
Florian Lefebvre 2023-10-03 17:16:49 +02:00 committed by Martin Trapp
parent 8eed6cc7ac
commit 49cbbf8d23
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/partytown': patch
---
Expose types for TypeScript users

View file

@ -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;
};