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

Add typecheck to "action sets the value" #3667

Conversation

CharString
Copy link
Contributor

Depends on release containing open-formulieren/formio-builder#69

Closes #3598

Forces expressions of type `string[][]`.

Accepting `[value: any, label: string][]` would require
open-formulieren/InferNoLogic#5

To allow

```ts
type Item = [value: any, label: string] | {value: any, label: string}
type ValidItemExpression = Item[]
```

open-formulieren/InferNoLogic#6 and even a union type!
@CharString CharString linked an issue Dec 6, 2023 that may be closed by this pull request
@sergei-maertens sergei-maertens marked this pull request as draft January 4, 2024 12:08
@sergei-maertens
Copy link
Member

Cleaning up clutter from open PRs, sorry!

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