Difference between revisions of "Smart Health Card Example"

From MgmtWiki
Jump to: navigation, search
(Problmes)
(Problmes)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
* [[Smart Health Card Example]] in typescript on Windows
 
* [[Smart Health Card Example]] in typescript on Windows
  
==Problmes==
+
==Problems==
 
+
===Code From Christian===
'tsc command not found' in compiling typescript - Stack Overflowhttps://stackoverflow.com › questions › tsc-command-n...
+
* health-card-dev-tools on smart
May 23, 2019 — If your TSC command is not found in MacOS after proper installation of TypeScript (using the following command: $ sudo npm install -g typescript ...
+
*'tsc command not found' in compiling typescript - Stack Overflowhttps://stackoverflow.com › questions › tsc-command-n...
 
+
May 23, 2019 — If your TSC command is not found in MacOS after proper installation of TypeScript (using the following command:
88
+
  $ sudo npm install -g typescript ...
  
 
There might be a reason that Typescript is not installed globally, so install it
 
There might be a reason that Typescript is not installed globally, so install it
 
+
npm install -g typescript // installs typescript globally
npm install -g typescript // installs typescript globally
+
If you want to convert .ts files into .js, do this as per your need
If you want to convert .ts files into .js, do this as per your need
 
 
  tsc path/file.ts // file.ts will be converted to file.js
 
  tsc path/file.ts // file.ts will be converted to file.js
 
  tsc              // all .ts files will be converted to .js files with in the directory
 
  tsc              // all .ts files will be converted to .js files with in the directory
  tsc --watch      // converts all .ts files to .js, and watch changes in
+
  tsc --watch      // converts all .ts files to .js, and watch changes in .ts files
 +
 
 +
===TSprocess===
  
 
==References==
 
==References==
  
 
[[Category:  Best Practice]]
 
[[Category:  Best Practice]]

Latest revision as of 13:23, 19 October 2021

Full Title

  • Smart Health Card Example in typescript on Windows

Problems

Code From Christian

  • health-card-dev-tools on smart
  • 'tsc command not found' in compiling typescript - Stack Overflowhttps://stackoverflow.com › questions › tsc-command-n...

May 23, 2019 — If your TSC command is not found in MacOS after proper installation of TypeScript (using the following command:

 $ sudo npm install -g typescript ...

There might be a reason that Typescript is not installed globally, so install it

npm install -g typescript // installs typescript globally

If you want to convert .ts files into .js, do this as per your need

tsc path/file.ts // file.ts will be converted to file.js
tsc              // all .ts files will be converted to .js files with in the directory
tsc --watch      // converts all .ts files to .js, and watch changes in .ts files

TSprocess

References