Typescript commands

Install Typescript: npm install -g typescript


confirm installation: tsc


creates js file

Commit in Github

Debugging Typescript


To compile type script code: tsc -p .

Running UT

  1. Install globally UT library: npm install -g type
  2. Parse the TS file to JS: tsc [file].ts
  3. run UT: tape Person.tests.js


Comments

Popular posts from this blog

Using external Fonts in Power Pages

Data Migration Toolbox

Power Automate Flow that return numbers on a text