Onyx Bump 2.0.48: null
-> undefined
changes
#267
Annotations
10 errors
src/languages/types.ts#L1
'OnyxEntry' is defined but never used
|
src/libs/DistanceRequestUtils.ts#L46
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
src/libs/DistanceRequestUtils.ts#L50
Unsafe argument of type `any` assigned to a parameter of type `OnyxEntry<{ id: string; name: string; role: ValueOf<{ readonly ADMIN: "admin"; readonly AUDITOR: "auditor"; readonly USER: "user"; }>; type: ValueOf<{ readonly FREE: "free"; readonly PERSONAL: "personal"; readonly CORPORATE: "corporate"; readonly TEAM: "team"; }>; ... 52 more ...; travelSettings?: WorkspaceTravelSet...`
|
src/libs/DistanceRequestUtils.ts#L82
'any' overrides all other types in this union type
|
src/libs/DistanceRequestUtils.ts#L87
Unsafe argument of type `any` assigned to a parameter of type `OnyxEntry<{ id: string; name: string; role: ValueOf<{ readonly ADMIN: "admin"; readonly AUDITOR: "auditor"; readonly USER: "user"; }>; type: ValueOf<{ readonly FREE: "free"; readonly PERSONAL: "personal"; readonly CORPORATE: "corporate"; readonly TEAM: "team"; }>; ... 52 more ...; travelSettings?: WorkspaceTravelSet...`
|
src/libs/OptionsListUtils.ts#L503
Unsafe argument of type `any` assigned to a parameter of type `OnyxEntry<{ avatarUrl?: string | undefined; chatType?: ValueOf<{ readonly POLICY_ANNOUNCE: "policyAnnounce"; readonly POLICY_ADMINS: "policyAdmins"; readonly TRIP_ROOM: "tripRoom"; readonly GROUP: "group"; ... 5 more ...; readonly SYSTEM: "system"; }> | undefined; ... 69 more ...; permissions?: ValueOf<...>[] | unde...`
|
src/libs/OptionsListUtils.ts#L504
Unsafe argument of type `any` assigned to a parameter of type `OnyxEntry<{ avatarUrl?: string | undefined; chatType?: ValueOf<{ readonly POLICY_ANNOUNCE: "policyAnnounce"; readonly POLICY_ADMINS: "policyAdmins"; readonly TRIP_ROOM: "tripRoom"; readonly GROUP: "group"; ... 5 more ...; readonly SYSTEM: "system"; }> | undefined; ... 69 more ...; permissions?: ValueOf<...>[] | unde...`
|
src/libs/OptionsListUtils.ts#L509
Unsafe argument of type `any` assigned to a parameter of type `OnyxEntry<{ avatarUrl?: string | undefined; chatType?: ValueOf<{ readonly POLICY_ANNOUNCE: "policyAnnounce"; readonly POLICY_ADMINS: "policyAdmins"; readonly TRIP_ROOM: "tripRoom"; readonly GROUP: "group"; ... 5 more ...; readonly SYSTEM: "system"; }> | undefined; ... 69 more ...; permissions?: ValueOf<...>[] | unde...`
|
src/libs/OptionsListUtils.ts#L732
Unsafe argument of type `any` assigned to a parameter of type `OnyxEntry<{ avatarUrl?: string | undefined; chatType?: ValueOf<{ readonly POLICY_ANNOUNCE: "policyAnnounce"; readonly POLICY_ADMINS: "policyAdmins"; readonly TRIP_ROOM: "tripRoom"; readonly GROUP: "group"; ... 5 more ...; readonly SYSTEM: "system"; }> | undefined; ... 69 more ...; permissions?: ValueOf<...>[] | unde...`
|
src/libs/OptionsListUtils.ts#L733
Unsafe argument of type `any` assigned to a parameter of type `OnyxEntry<{ avatarUrl?: string | undefined; chatType?: ValueOf<{ readonly POLICY_ANNOUNCE: "policyAnnounce"; readonly POLICY_ADMINS: "policyAdmins"; readonly TRIP_ROOM: "tripRoom"; readonly GROUP: "group"; ... 5 more ...; readonly SYSTEM: "system"; }> | undefined; ... 69 more ...; permissions?: ValueOf<...>[] | unde...`
|
This job failed
Loading