TypeScript build output differs from JavaScript output
See original GitHub issueConsider the output of dgeni-example
1.) We run the build
2.) Our output looks like:
However, whenever I attempt to do the same build with the new typescript dgeni-package I run into a different output. Refer to this fork of the dgeni-example: https://github.com/pvadam/dgeni-example/tree/typescript-example
1.) We run the build https://gist.github.com/ericjim/33f05f674817e7320ba92f651b37e096
2.) Our output looks like:
Ideally we would like typescript files to generate the same output as with javascript files.
Of note, the tags in the documentation are not being picked up. The only property in common.template.html
being picked up is doc.outputPath
Links:
- TypeScript Example: https://github.com/pvadam/dgeni-example/tree/typescript-example
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How can I get the Typescript compiler to output the compiled js ...
This was how I got this to work using the built in Typescript Compiler. Check compile main file only and point it to...
Read more >Documentation - Migrating from JavaScript - TypeScript
If your output files need to reside in a specific directory, ... Each build tool is different, but we'll do our best to...
Read more >TypeScript vs. JavaScript: Your Go-to Guide - Toptal
TypeScript's JavaScript output doesn't contain type information, so it won't perform type checks and, therefore, type safety can break at runtime. For example, ......
Read more >Discussion: TypeScript Output #5307 - jashkenas/coffeescript
This would enable TypeScript output to be added without requiring a breaking change, and using the existing compiler. Make breaking changes to ...
Read more >TypeScript vs JavaScript: Which One Should You Choose?
TypeScript is a strongly typed, object-oriented programming language, whereas, JavaScript is a programming language for the web.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good work @ericjim
Closing this issue. The full example can be viewed here: https://github.com/ericjim/dgeni-typescript-example