refactor: fix type
This commit is contained in:
parent
6b31ea1992
commit
02bb36cdc4
7 changed files with 41 additions and 53 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue