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

Is there a Typescript definition file? #5

Open
titimoby opened this issue Aug 31, 2016 · 2 comments
Open

Is there a Typescript definition file? #5

titimoby opened this issue Aug 31, 2016 · 2 comments

Comments

@titimoby
Copy link

To use the component in a project written with Typescript, I'd like to know if there's a definition file somewhere, here, on DefinitivelyTyped or Typings registry?

@ocket8888
Copy link

ocket8888 commented Sep 20, 2016

If you look in lib/ there's a material-steppers.ts file that contains all the definitions you should need. Alternatively, I pulled out an interface you can import, gonna attach it (as a txt so github doesn't think I'm trying to give you a virus or something).
MaterialSteppers.interface.txt

@titimoby
Copy link
Author

In the end, I used the typings generation allowed when the source is already in Typescript.
I don't know the precise process to follow to be directly recognized by the typings tool, but as it is I can start working.

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