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

DTS tests broken #1722

Closed
waynevanson opened this issue Jun 11, 2022 · 1 comment
Closed

DTS tests broken #1722

waynevanson opened this issue Jun 11, 2022 · 1 comment

Comments

@waynevanson
Copy link
Contributor

waynevanson commented Jun 11, 2022

🐛 Bug report

Current Behavior

Here is a small excerpt. Looks like the union is mapped incorrectly for only the first to types in a union.

ERROR: 99:1   expect  Expected type to be:
  Record<"a" | "b" | "c", number>
got:
  Record<"b" | "a" | "c", number>

Expected behavior

No errors, branch has been pulled straight from master.

Reproducible example

git clone git@github.com:gcanti/fp-ts.git
cd fp-ts
npm i
npm test

Suggested solution(s)

Not sure.

Additional context

Causes multiple PR's in CI to fail,
Fails locally

Your environment

branch master with node@12

@waynevanson waynevanson changed the title TSlint broken DTS tests broken Jun 11, 2022
@gcanti gcanti closed this as completed in 34b28fa Jun 12, 2022
@gcanti
Copy link
Owner

gcanti commented Jun 12, 2022

@waynevanson thanks for the bug report

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