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
{{ message }}
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
Does add werkgevers.0.nettoLoon :: number to the context... But a ty-var is created for the type of array werkgevers :: Array var. This is effectively the same as let werkgevers: any[].
A mismatch in a "map" over werkgevers that uses nettoLoon as a string goes unnoticed.
The text was updated successfully, but these errors were encountered:
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!
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!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently the data
Does add
werkgevers.0.nettoLoon :: number
to the context... But a ty-var is created for the type of arraywerkgevers :: Array var
. This is effectively the same aslet werkgevers: any[]
.A mismatch in a
"map"
overwerkgevers
that usesnettoLoon
as a string goes unnoticed.The text was updated successfully, but these errors were encountered: