Skip to content

Onyx Bump 2.0.48: null -> undefined changes #260

Onyx Bump 2.0.48: null -> undefined changes

Onyx Bump 2.0.48: null -> undefined changes #260

Triggered via pull request June 5, 2024 16:17
Status Failure
Total duration 6m 34s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run ESLint: 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...`
Run ESLint: src/libs/DistanceRequestUtils.ts#L82
'any' overrides all other types in this union type
Run ESLint: 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...`
Run ESLint: src/libs/PersonalDetailsUtils.ts#L253
'any' overrides all other types in this union type
Run ESLint: src/libs/PolicyUtils.ts#L145
'any' overrides all other types in this union type
Run ESLint: src/libs/PolicyUtils.ts#L158
'any' overrides all other types in this union type
Run ESLint: src/libs/PolicyUtils.ts#L300
'any' overrides all other types in this union type
Run ESLint: src/libs/PolicyUtils.ts#L307
'any' overrides all other types in this union type
Run ESLint: src/libs/ReportActionsUtils.ts#L118
Unsafe return of an `any` typed value
Run ESLint: src/libs/ReportActionsUtils.ts#L122
Unsafe return of an `any` typed value