Skip to content

Commit 077e000

Browse files
author
Amey Mandalik
committed
typing issue
1 parent 400e1d0 commit 077e000

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/agentforce/src/browser.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ import 'web-tree-sitter';
1717

1818
// Mount on window for script tag usage
1919
if (typeof globalThis !== 'undefined' && 'window' in globalThis) {
20-
(window as Record<string, unknown>).AgentforceScriptSDK = AgentforceScriptSDK;
20+
(window as unknown as Record<string, unknown>).AgentforceScriptSDK =
21+
AgentforceScriptSDK;
2122
}
2223

2324
// Also export for module usage

0 commit comments

Comments
 (0)