0

is there any plane to create TypeScript exporter for Animate CC ? or is a tool that help converting the result JS to TypeScript ?

regards

Hani Safa
  • 91
  • 5
  • typescript is a superset of javascript. As such in most cases javascript code is valid typescript code. – toskv Jun 28 '16 at 12:57

2 Answers2

0

is a tool that help converting the result JS to TypeScript

Your generated javascript is typescript.

More

https://basarat.gitbooks.io/typescript/content/docs/why-typescript.html

Here is an image:

basarat
  • 261,912
  • 58
  • 460
  • 511
  • thanks for you time. what i meant is a definition file for the generated file, so that type-cheeking , code completion work – Hani Safa Jun 29 '16 at 08:17
0

Animate CC's HTML5 canvas output runs on the CreateJS library. CreateJS already has a Typescript definition file (see here) but you'll have to script externally for leveraging Typescript. There's no inbuilt support within Animate.