zulip/static/shared/js/typing_status.js.flow

19 lines
348 B
Plaintext

/**
* @flow strict
*/
"use strict";
type RecipientUserIds = number[];
type Worker = {|
get_current_time: () => number, // as ms since epoch
notify_server_start: RecipientUserIds => void,
notify_server_stop: RecipientUserIds => void
|};
declare export function update(
worker: Worker,
new_recipient: RecipientUserIds | null
): void;