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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any.Compute changes empty tuple type #316

Open
jasonkuhrt opened this issue Sep 11, 2022 · 0 comments
Open

Any.Compute changes empty tuple type #316

jasonkuhrt opened this issue Sep 11, 2022 · 0 comments

Comments

@jasonkuhrt
Copy link

馃悶 Bug Report

Describe the bug

type x = Any.Compute<{ aliases: {short:[],long:[]}}>

// expected
type x = {
  aliases: {
    short: []
    long: []
  }
}
// actual
type x = {
  aliases: {
    short: {}[]
    long: {}[]
  }
}

Reproduce the bug

// REPL or a link to your repository if applicable.
// A *self-contained* demonstration of the problem.

see above

Expected behavior

see above

Possible Solution

Haven't invested yet

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

1 participant