Skip to content

Add more accurate types to Zod helpers #430

Add more accurate types to Zod helpers

Add more accurate types to Zod helpers #430

Triggered via pull request December 9, 2023 00:21
Status Failure
Total duration 1m 18s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 9 warnings
build
Argument of type 'ZodNumber' is not assignable to parameter of type 'never'.
build
Argument of type 'ZodString' is not assignable to parameter of type 'never'.
build
Argument of type 'ZodNumber' is not assignable to parameter of type 'never'.
build
Process completed with exit code 2.
build: apps/test-app/app/routes/field-array.state.tsx#L2
'nanoid' is defined but never used
build: apps/test-app/app/routes/field-array.state.tsx#L6
'InputWithTouched' is defined but never used
build: apps/test-app/app/routes/index.tsx#L1
'MetaFunction' is defined but never used
build: apps/test-app/app/routes/rerenders.tsx#L28
Assignments to the 'renderUpdated' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
build: apps/test-app/app/routes/validation-textarea.tsx#L3
'z' is defined but never used
build: packages/remix-validated-form/src/internal/state/fieldArray.tsx#L2
'useState' is defined but never used
build: packages/set-get/src/stringToPathArray.ts#L7
Unnecessary escape character: \.
build: packages/set-get/src/stringToPathArray.ts#L7
Unnecessary escape character: \[
build: packages/set-get/src/stringToPathArray.ts#L9
'_' is assigned a value but never used