angular / ts-minify

A tool to aid minification of Typescript code, using Typescript's type information.
Apache License 2.0
121 stars 7 forks source link

Explict any casting results in emitting 'undefined' #52

Open dariajung opened 9 years ago

dariajung commented 9 years ago

Something like:

var x = <any>Some_Class; will result in an emit that looks like var x = undefined;

This is likely due to the fact that there is no specific type information associated with an any type.

This issue is related to #53.

Possible ways to approach this: