Skip to content
This repository was archived by the owner on Jun 7, 2018. It is now read-only.

TypeScript Definition #153

Closed
chingyawhao opened this issue May 30, 2016 · 4 comments
Closed

TypeScript Definition #153

chingyawhao opened this issue May 30, 2016 · 4 comments

Comments

@chingyawhao
Copy link

Is there support for TypeScript?
Or is there any alternative for TypeScript?

@Martin-Pitt
Copy link

@chingyawhao you could probably use the WebIDL and convert it to TypeScript definitions:
https://github.com/RicoP/idl2typings

Sources:
ternjs/tern#419
microsoft/TypeScript#3027

@chingyawhao
Copy link
Author

How do I get this WebIDL?

@birtles
Copy link
Contributor

birtles commented May 30, 2016

It's all here: https://w3c.github.io/web-animations/#idl-index

Note that there's some manual handling of keyframe objects that can't be expressed in WebIDL. Note sure if TypeScript can help with that.

@chingyawhao
Copy link
Author

wew...thanks
I ll try it out

@birtles birtles closed this as completed Jun 1, 2016
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

3 participants