Skip to content

Commit

Permalink
chore(api): generate types
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Oct 4, 2023
1 parent 841570d commit 2d68a6f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4346,6 +4346,12 @@ declare module "socket:hooks" {
* @return {function}
*/
onOffline(callback: Function): Function;
/**
* Calls callback when runtime user preferred language has changed.
* @param {function} callback
* @return {function}
*/
onLanguageChange(callback: Function): Function;
#private;
}
const _default: Hooks;
Expand Down

0 comments on commit 2d68a6f

Please sign in to comment.