We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1cb501 commit 1fbc31aCopy full SHA for 1fbc31a
packages/plugin-lightning/src/actions/createInvoice.ts
@@ -40,7 +40,7 @@ export const createInvoiceAction = {
40
_message: Memory,
41
state: State,
42
_options: any,
43
- callback?: any
+ callback?: (response: { text: string; content?: { success: boolean; invoice?: string } }) => void
44
) => {
45
console.log("CreateInvoice action handler called");
46
const lightningProvider = await initLightningProvider(runtime);
0 commit comments