chore (backend): add type annotation
This commit is contained in:
parent
3d11e6d519
commit
507487e6e8
1 changed files with 4 additions and 2 deletions
|
@ -16,8 +16,10 @@ export const AntennaRepository = db.getRepository(Antenna).extend({
|
|||
id: antenna.id,
|
||||
createdAt: antenna.createdAt.toISOString(),
|
||||
name: antenna.name,
|
||||
keywords: antenna.keywords.map((row) => row.split(" ")),
|
||||
excludeKeywords: antenna.excludeKeywords.map((row) => row.split(" ")),
|
||||
keywords: antenna.keywords.map((row: string) => row.split(" ")),
|
||||
excludeKeywords: antenna.excludeKeywords.map((row: string) =>
|
||||
row.split(" "),
|
||||
),
|
||||
src: antenna.src,
|
||||
userListId: antenna.userListId,
|
||||
userGroupId: userGroupJoining ? userGroupJoining.userGroupId : null,
|
||||
|
|
Loading…
Reference in a new issue