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

no way to specify type parameters inside tsx code #6761

Closed
pdeva opened this issue Jan 30, 2016 · 2 comments
Closed

no way to specify type parameters inside tsx code #6761

pdeva opened this issue Jan 30, 2016 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@pdeva
Copy link

pdeva commented Jan 30, 2016

I have a react component like this:

class MultiSelect<D> extends React.Component<{list:D},{}>

If i want to use it:

<MultiSelect list={items}/>

I will get an error above cause I cannot define D anywhere.

@DanielRosenwasser
Copy link
Member

I think this is related to #6761 and #3960.

@RyanCavanaugh RyanCavanaugh added the Duplicate An existing issue was already created label Feb 1, 2016
@RyanCavanaugh
Copy link
Member

#6395

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

3 participants