pack(Many) の me が optional にならないように
This commit is contained in:
parent
1a5ba39329
commit
df0a663283
26 changed files with 36 additions and 35 deletions
|
|
@ -71,7 +71,7 @@ export class FollowingEntityService {
|
|||
@bindThis
|
||||
public async pack(
|
||||
src: MiFollowing['id'] | MiFollowing,
|
||||
me?: { id: MiUser['id'] } | null | undefined,
|
||||
me: { id: MiUser['id'] } | null | undefined,
|
||||
opts?: {
|
||||
populateFollowee?: boolean;
|
||||
populateFollower?: boolean;
|
||||
|
|
@ -98,7 +98,7 @@ export class FollowingEntityService {
|
|||
@bindThis
|
||||
public async packMany(
|
||||
followings: (MiFollowing['id'] | MiFollowing)[],
|
||||
me?: { id: MiUser['id'] } | null | undefined,
|
||||
me: { id: MiUser['id'] } | null | undefined,
|
||||
opts?: {
|
||||
populateFollowee?: boolean;
|
||||
populateFollower?: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue