Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.9.2
-
None
-
None
Description
TypeScript support is very valuable for us.
But, currently d.ts files for TypeScript does not include any info on typedefs defined in IDLs.
For example, we have foo.idl like this.
typedef string userID
struct Foo
Currently this is compiled into foo.d.ts like this.
declare class Foo
{ s: string; }I should be like this, or we have to use string instead of meaningfull userID.
declare type userID = string;
declare class Foo