1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-28 06:48:21 +09:00

UserLite.nameにnullが入りうるのを型で明示 (#12073)

* UserLite.nameにnullが入りうるのを型で明示

* ドキュメントの追従
This commit is contained in:
A.Yamamoto 2023-10-19 19:33:45 +09:00 committed by GitHub
parent 721cbe085b
commit 9afcdd10ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2961,7 +2961,7 @@ type UserLite = {
id: ID;
username: string;
host: string | null;
name: string;
name: string | null;
onlineStatus: 'online' | 'active' | 'offline' | 'unknown';
avatarUrl: string;
avatarBlurhash: string;

View File

@ -12,7 +12,7 @@ export type UserLite = {
id: ID;
username: string;
host: string | null;
name: string;
name: string | null;
onlineStatus: 'online' | 'active' | 'offline' | 'unknown';
avatarUrl: string;
avatarBlurhash: string;