Skip to content

Commit 3bb960e

Browse files
wixysamcursoragent
andcommitted
Update FunctionName example to use calculateTotal
Changed from sendEmail to calculateTotal to match the invoke() function examples for consistency. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent c38ea66 commit 3bb960e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/modules/functions.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export interface FunctionNameRegistry {}
1010
* ```typescript
1111
* // Using generated function name types
1212
* // With generated types, you get autocomplete on function names
13-
* await base44.functions.invoke('sendEmail', { to: 'user@example.com' });
13+
* await base44.functions.invoke('calculateTotal', { items: ['item1', 'item2'] });
1414
* ```
1515
*/
1616
export type FunctionName = keyof FunctionNameRegistry extends never

0 commit comments

Comments
 (0)