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

TS type inference failure #917

Closed
jods4 opened this issue Apr 3, 2020 · 0 comments
Closed

TS type inference failure #917

jods4 opened this issue Apr 3, 2020 · 0 comments

Comments

@jods4
Copy link
Contributor

jods4 commented Apr 3, 2020

Version

3.0.0-alpha.10

Reproduction link

https://codesandbox.io/s/eloquent-diffie-n4z2h

Steps to reproduce

Look at main.ts in repro. It has a compilation error.

What is expected?

No compilation error

What is actually happening?

Says data object is not assignable to void | RenderFunction.


This one is weird. It's triggered by adding markNonReactive, although the definition of markNonReactive itself is a passthrough <T>(x: T): T.
Might be one for MS.

@github-actions github-actions bot locked and limited conversation to collaborators Nov 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant