1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 23:46:30 +02:00

refactor: fix type

This commit is contained in:
syuilo
2022-04-17 20:44:21 +09:00
parent 6b31ea1992
commit 02bb36cdc4
7 changed files with 41 additions and 53 deletions

View File

@@ -19,7 +19,7 @@ import { StreamEventEmitter, StreamMessages } from './types.js';
*/
export default class Connection {
public user?: User;
public userProfile?: UserProfile;
public userProfile?: UserProfile | null;
public following: Set<User['id']> = new Set();
public muting: Set<User['id']> = new Set();
public blocking: Set<User['id']> = new Set(); // "被"blocking