Quantcast
Channel: bundletransformer Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 698

Commented Unassigned: Typescript: exporting a class results in "Object reference not set to an instance of an object' [54]

$
0
0
First of all, thank you for all the hard work you've put into this library. You've made it possible for us to use MVC optimization to compile Bootstrap 3.0.

We're also interested in starting to use TypeScript. In one of my initial tests to get a feel for the language, however, I stumbled upon a frustrating error when trying to create exported classes.

It seems that when a class is exported using the 'export' keyword, the translation fails in the InnerTranslate() function of the TypeScriptTranslator.

To demonstrate the problem, I created a small project and [made it available](https://bitbucket.org/Dvde/typescripterror). Could you find the time to find out what is going wrong?

Comments: In the next release I will add this information to the documentation.

Viewing all articles
Browse latest Browse all 698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>