Repository: electron/electron (language: cpp)

Issue:
Invalid TypeScript type for event 'transactions-updated'
### Preflight Checklist

- [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [x] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

32.2.8

### What operating system(s) are you using?

Other (specify below)

### Operating System Version

...

### What arch are you using?

x64

### Last Known Working Electron version

_No response_

### Expected Behavior

Expected type:
```ts
on(event: 'transactions-updated', listener: (event: Event, transactions: Transaction[]) => void): this;
```

### Actual Behavior

Actual type:
```ts
on(event: 'transactions-updated', listener: () => void): this;
```

### Testcase Gist URL

_No response_

### Additional Information

Docs: https://www.electronjs.org/docs/latest/api/in-app-purchase#event-transactions-updated


Discussion / hints:

Fix patch:
diff --git a/docs/api/in-app-purchase.md b/docs/api/in-app-purchase.md
index 38078ecf29dd7..0fed7b8c2c1b6 100644
--- a/docs/api/in-app-purchase.md
+++ b/docs/api/in-app-purchase.md
@@ -10,13 +10,13 @@ The `inAppPurchase` module emits the following events:
 
 ### Event: 'transactions-updated'
 
-Emitted when one or more transactions have been updated.
-
 Returns:
 
 * `event` Event
 * `transactions` Transaction[] - Array of [`Transaction`](structures/transaction.md) objects.
 
+Emitted when one or more transactions have been updated.
+
 ## Methods
 
 The `inAppPurchase` module has the following methods:


Test patch: