Material-ui: Typescript declaration for material-ui@next

Created on 31 Mar 2017  ·  3Comments  ·  Source: mui-org/material-ui

Description

There's a type declaration for the current version on DefinitelyTyped and npm. Is there a version somewhere for the "next" branch? or better yet will declarations be included with library in the "next" release?

question typescript

Most helpful comment

Typescript support started with #7522

All 3 comments

Question? This helps us keep issues for... issues. :smile: Thanks!

@wcarson No plans.

Typescript support started with #7522

Sorry to up this post, but how do you get types for the next branch ?
I'm using VSCode, and last versions of everything (TypeScript, Material-UI), and I don't have auto-completion with the components.

When I write this:

<Typography variant="headline">
  {this.props.message}
</Typography>

I don't have any suggested auto-completion. And when I add @types/material-ui, it's giving me Typography from material-ui/styles. So not what I want :-P

I must miss something obvious, but I don't know what.

Was this page helpful?
0 / 5 - 0 ratings