Add off callback docs

This commit is contained in:
2026-08-07 01:43:06 +00:00
parent 2b6f4e2f8e
commit c7f8637ea0
+3
View File
@@ -21,6 +21,9 @@ interface ListenerEntry<T> {
once?: boolean;
}
/**
* Callback returned by {@link on} and {@link once} for removing a listener.
*/
export type OffCallback = () => void;
/**