Top "Tsc" questions

tsc is a compiler for converting TypeScript into plain JavaScript.

Mute/ignore TS2307 error from TypeScript tsc

Is there a way to mute the TS2307 error from the TypeScript tsc compiler? It makes it really hard to …

typescript tsc
Ignore certain TypeScript compile errors?

I am wondering if there is a way to ignore certain TypeScript errors upon compilation? I basically have the same …

this typescript tsc
Cannot find module that is defined in tsconfig `paths`

I am trying to setup aliases for my mock server. Whenever I try to compile ts files, it returns error …

typescript alias tsc tsconfig ts-node
Unable to uninstall typescript globally through npm

I've installed typescript 2.4.1 on my system globally (tsc -v gives me version 2.4.1). I want to uninstall it as I want …

node.js npm-install tsc
Typescript noEmit use case

What is the use case for noEmit in Typescript? I'm interested because I want to see if I can use …

typescript tsc tsconfig
Typescript "error TS2532: Object is possibly 'undefined'" even after undefined check

I'm trying to use the --strict option on tsc but I ran into the following "weird" case that I don't …

typescript typing tsc
@Types/Sequelize Error TS1086: An accessor cannot be declared in ambient context

I have a project that shows this error when I run 'tsc': ../modules/node_modules/sequelize/types/lib/transaction.d.…

node.js typescript types sequelize.js tsc
node.js: Unexpected token {

So I have a unit test written for mocha using TypeScript. I am trying to run it using gulp (which …

javascript typescript tsc
Exclude folder when compiling typescript

I use Atom to write code. It uses tsconfig.json to include and exclude folders. In order to use intellisense …

javascript typescript tsc
tsc not excluding node_modules

{ "compilerOptions": { "target": "es5", "module": "commonjs", "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": false }, "exclude": [ "node_modules", "…

typescript angular tsc