jart / jart/web_library_example

How is typeScript translated to JavaScript?

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Description

This may be a duplicated issue of https://github.com/tensorflow/tensorboard/issues/257

I am sorry to bother you here as well.

In file web_library_example/web_library_example/vz_heatmap_ts/vz-heatmap-ts.html line 37, you have:
<script src="vz-heatmap-ts.js"></script>
However, there is actually a .ts file (vz-heatmap-ts.ts) instead of a .js file (vz-heatmap-ts.js) in the path. I am wondering how this worked out.

Or I can just view this as a kind of "black magic" and keep replace .ts with .js during my own development?

I really appreciate your help!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with web_library_example/web_library_example/vz_heatmap_ts/vz-heatmap-ts.html at line 37 and compare it with vz-heatmap-ts.ts in the same path. Check the repository for the build or translation step that would produce vz-heatmap-ts.js. Done means the TypeScript-to-JavaScript workflow and the script reference are clearly explained.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
build-system
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.