Type 'Data' is not assignable to type 'From'. #1

Closed
opened 2022-01-30 20:04:07 -08:00 by CharlZKP · 1 comment
CharlZKP commented 2022-01-30 20:04:07 -08:00 (Migrated from github.com)

Got this problem
while trying to compile

A type predicate's type must be assignable to its parameter's type.
Type 'Data' is not assignable to type 'From'.
'Data' is assignable to the constraint of type 'From', but 'From' could be instantiated with a different subtype of constraint 'any[]'.ts(2677)

My node version is v16.13.2

image

Got this problem while trying to compile A type predicate's type must be assignable to its parameter's type. Type 'Data' is not assignable to type 'From'. 'Data' is assignable to the constraint of type 'From', but 'From' could be instantiated with a different subtype of constraint 'any[]'.ts(2677) My node version is v16.13.2 ![image](https://user-images.githubusercontent.com/11996083/151737300-daf58f55-1f64-4ea2-9b7f-bf58a9165c4e.png)

Hello, thank you for the report and sorry I missed this! I've fixed the bug and updated the dependencies; you should be able to install 0.4.0 from NPM now.

Hello, thank you for the report and sorry I missed this! I've fixed the bug and updated the dependencies; you should be able to install 0.4.0 from NPM now.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jpcx/ts-ev#1
There is no content yet.