You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A typescript error is generated, and typescript building fails with the error: error TS2341: Property 'errors' is private and only accessible within class 'Result<T>'.
Environment:
Express-validator version: 7.0.1
Express version: 5.0.0-beta.1
Node.js version: 18.16.1
The text was updated successfully, but these errors were encountered:
Describe the bug
The
errors
property forResultWithContext
is marked as private on package version7.0.1
and TypeScript version5.1.6
To Reproduce
Follow the TypeScript example on the docs site
Expected behavior
The property is accessible
Current behavior
A typescript error is generated, and typescript building fails with the error:
error TS2341: Property 'errors' is private and only accessible within class 'Result<T>'.
Environment:
The text was updated successfully, but these errors were encountered: