compose_recipient: Convert module to TypeScript.

This commit is contained in:
Temidayo32
2024-03-23 17:45:59 +00:00
committed by Tim Abbott
parent f16c32e3a4
commit 25ff0d4418
4 changed files with 77 additions and 44 deletions

View File

@@ -22,7 +22,7 @@ import * as stream_data from "./stream_data";
import * as user_status from "./user_status";
import * as util from "./util";
type ComposeTriggeredOptions = {
export type ComposeTriggeredOptions = {
trigger: string;
} & (
| {
@@ -35,7 +35,7 @@ type ComposeTriggeredOptions = {
private_message_recipient: string;
}
);
type ComposePlaceholderOptions =
export type ComposePlaceholderOptions =
| {
message_type: "stream";
stream_id: number | undefined;