Skip to content

Docs: Active event handler does not expect parameters in replication guide#9172

Merged
janl merged 1 commit intoapache:masterfrom
becheran:patch-1
Feb 13, 2026
Merged

Docs: Active event handler does not expect parameters in replication guide#9172
janl merged 1 commit intoapache:masterfrom
becheran:patch-1

Conversation

@becheran
Copy link
Contributor

@becheran becheran commented Feb 7, 2026

Typescript complains about the non existing function becausethe signature looks like this:

on(event: "active", listener: () => any): this;

Removing the variable helps to copy-paste the code without complains.

Typescript complains about the non existing function becausethe signature looks like this:

`on(event: "active", listener: () => any): this;`

Removing the variable helps to copy-paste the code without complains.
@janl
Copy link
Member

janl commented Feb 12, 2026

shouldn’t we fix the type instead? or is this function not being passed info at all?

@becheran
Copy link
Contributor Author

The function does not pass any info object. And I guess the reson is that there is no further information except that the db is active again?

@janl
Copy link
Member

janl commented Feb 13, 2026

@janl janl merged commit d90868a into apache:master Feb 13, 2026
87 checks passed
@janl
Copy link
Member

janl commented Feb 13, 2026

thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments