Narrow argument type to the specific event being listened to (#16714)

This commit is contained in:
Hariom Balhara authored and GitHub committed 2024-09-19 09:42:32 +00:00
1 parent 3ae53a4b6e
commit 6d133c26f8
7 files changed
+71 -12

No files matched your search

+3
View File
@@ -5,6 +5,9 @@ import EmbedSnippet from "@calcom/embed-snippet";
import Cal from "./Cal";
// Exporting for consumption by @calcom/embed-react user
export type { EmbedEvent } from "@calcom/embed-core";
export function getCalApi(options?: {
embedJsUrl?: string;
namespace?: string;