masto/timelines: better documentation

This commit is contained in:
thislight 2024-10-30 23:25:33 +08:00
parent d88921f245
commit b55618664c
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
3 changed files with 51 additions and 5 deletions

View file

@ -18,7 +18,7 @@ import { findElementActionable } from "./RegularToot";
const TootList: Component<{
ref?: Ref<HTMLDivElement>;
threads: string[];
threads: readonly string[];
onUnknownThread: (id: string) => { value: mastodon.v1.Status }[] | undefined;
onChangeToot: (id: string, value: mastodon.v1.Status) => void;
}> = (props) => {