Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export ValueValidationResult #41

Closed
jp-rl opened this issue Jun 15, 2023 · 1 comment
Closed

Export ValueValidationResult #41

jp-rl opened this issue Jun 15, 2023 · 1 comment

Comments

@jp-rl
Copy link

jp-rl commented Jun 15, 2023

Hi Alex,

First of all, thanks for your library and the work you have invested in it. I usually use Fluent Validation in .net so it was a great surprise to find your library and use it in typescript.

I need to import the ValueValidationResult type for certain cascading validations inside nested components.

Before (v2.3.0) you could import from node_modules/fluentvalidation-ts/dist, but now (v3.1.0) in dist there is only index.d.ts

Could you consider exporting Value ValidationResult in dist/index.d.ts in future versions?

export { AsyncValidator, ValidationErrors, SyncValidator as Validator, ValueValidationResult };

TIA! Regards

@AlexJPotter
Copy link
Owner

Hi @jp-rl - apologies for the delay on this. I've just released v.3.2.0 that includes the desired type export. Please let me know if you have any further issues 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants