Code styling fixes
This commit is contained in:
@ -4,7 +4,7 @@ import { AnnouncementResponse, isAnnouncementResponse } from '../announcement/ty
|
||||
type AnnouncementsResponse = AnnouncementResponse[]
|
||||
|
||||
const isAnnouncementsResponse = (obj: unknown): obj is AnnouncementsResponse => (
|
||||
isArrayOf<AnnouncementResponse>(obj, isAnnouncementResponse)
|
||||
isArrayOf(obj, isAnnouncementResponse)
|
||||
)
|
||||
|
||||
export type {
|
||||
|
@ -14,7 +14,7 @@ const isTrashbox = (obj: unknown): obj is Trashbox => (
|
||||
'Lat': 'number',
|
||||
'Lng': 'number',
|
||||
'Address': 'string',
|
||||
'Categories': obj => isArrayOf<string>(obj, isString),
|
||||
'Categories': obj => isArrayOf(obj, isString),
|
||||
})
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user