question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeScript build output differs from JavaScript output

See original GitHub issue

Consider the output of dgeni-example

1.) We run the build screen shot 2016-04-04 at 12 08 05 pm

2.) Our output looks like: screen shot 2016-04-04 at 12 08 40 pm

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: screen shot 2016-04-04 at 12 14 21 pm

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:

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
petebacondarwincommented, Apr 4, 2016

Good work @ericjim

0reactions
ericjimcommented, Apr 4, 2016

Closing this issue. The full example can be viewed here: https://github.com/ericjim/dgeni-typescript-example

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found