From 3cd847764599339eb3075de139b3c97493e58a55 Mon Sep 17 00:00:00 2001 From: gioboa Date: Tue, 9 Jan 2024 23:06:24 +0100 Subject: [PATCH] chore: update api md --- src/integration/api.md | 2 +- src/utils/api.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/integration/api.md b/src/integration/api.md index 4aed4fd5..1bbe8937 100644 --- a/src/integration/api.md +++ b/src/integration/api.md @@ -47,7 +47,7 @@ export interface PartytownConfig { export type PartytownForwardProperty = string; // @public -export const partytownSnippet: (config?: PartytownConfig | undefined) => string; +export const partytownSnippet: (config?: PartytownConfig) => string; // @public (undocumented) export type ResolveUrlType = 'fetch' | 'xhr' | 'script' | 'iframe' | 'image'; diff --git a/src/utils/api.md b/src/utils/api.md index 601b165c..b002e5e0 100644 --- a/src/utils/api.md +++ b/src/utils/api.md @@ -24,14 +24,14 @@ export interface LibDirOptions { export function libDirPath(opts?: LibDirOptions): string; // @public -export function partytownRollup(opts: PartytownRollupOptions): { +export function partytownRollup(opts?: PartytownRollupOptions): { name: string; }; // @public (undocumented) export interface PartytownRollupOptions { debug?: boolean; - dest: string; + dest?: string; } // @public