About 4,850,000 results
Open links in new tab
  1. How to compile typescript using npm command? - Stack Overflow

    Here is an idea : Configure typescript using tsconfig.json file Run tsc --watch, so every time you change a .ts file, tsc will compile it and produce the output (let say you configured typescript to put the output …

  2. typescript - tsc --build vs tsc --project - Stack Overflow

    Jun 1, 2021 · Summary npx tsc --build ran 1.00 ± 0.07 times faster than npx tsc --project tsconfig.json 1.03 ± 0.10 times faster than npx tsc --build tsconfig.json 1.23 ± 0.22 times faster than npx tsc So it …

  3. typescript - Visual Studio Code compile on save - Stack Overflow

    How can I configure Visual Studio Code to compile typescript files on save? I see it is possible to configure a task to build the file in focus using the ${file} as an argument. But I would like...

  4. Ignore all errors in a typescript file - Stack Overflow

    Apr 11, 2019 · 132 I have a large typescript file that I've inherited. The compiler has many complaints with this file, however it works just fine. I'll come back to it, but is there any way to suppress all …

  5. javascript - How can I get the Typescript compiler to output the ...

    For this to work in IntelliJ, I had to click on Typescript in the bottom right of the window, then compile, then tsconfig.json. Only then did the build folder appear.

  6. visual studio - No TypeScript Build tab vs 2022 - Stack Overflow

    Oct 28, 2023 · I am able to see typescript build tab from above steps in vs 2022 enterprise edition. Thanks.

  7. typescript - tsc - doesn't compile alias paths - Stack Overflow

    Dec 4, 2019 · And build (transpile TS to JS) using the command tsc && tsc-alias. It will work. Also make sure that you install typescript to enable tsc and tsc-alias to enable tsc-alias command above. You …

  8. tsc - Is there any clean up command in TypeScript to delete the build ...

    May 14, 2021 · So, I am wondering if there is any native command in typescript that cleans/deletes this generated 'js-files' folder, something like 'mvn clean' in Maven projects.

  9. tsc throws `TS2307: Cannot find module` for a local file

    May 31, 2016 · In VS2019, the project property page, TypeScript Build tab has a setting (dropdown) for "Module System". When I changed that from "ES2015" to CommonJS, then VS2019 IDE stopped …

  10. How to correctly resolve path aliases in TypeScript?

    Dec 6, 2023 · And now, since TypeScript does not resolve the path aliases during the build, I'm having so much trouble setting up tsconfig-paths and I have no idea how to configure Babel or Webpack just …