Setting a boolean pointer's .val to a boolean value is expected to work without showing type warnings. While the code above works as intended, the Deno TypeScript linter will show the following type conflict for line 2:
Type 'boolean' is not assignable to type 'T'.
'T' could be instantiated with an arbitrary type which could be unrelated to 'boolean'. deno-ts(2322)
This does not happen for string and number pointers.
Reproducible Example
UIX -
frontend/example.ts
:Versions
UIX: 0.2.5 DATEX: 0.1.4
Issue
Setting a boolean pointer's
.val
to a boolean value is expected to work without showing type warnings. While the code above works as intended, the Deno TypeScript linter will show the following type conflict for line 2:This does not happen for string and number pointers.