Skip to content

NicoPennec/tscheck-demo

Repository files navigation

TS-Check, a static type checker for JavaScript

This project contains the source code used for live coding with ts-check.

TypeScript 2.3 and later support a mode of type-checking and reporting errors in .js files with --checkJs.

See documentation: https://github.com/Microsoft/TypeScript/wiki/Type-Checking-JavaScript-Files

Getting started

Install deps

npm install

Run TS-Check in standalone mode

npm run tsc

npm run tsc:watch

Open VIM and play with src/*.js files

Terminal output:
tscheck jsdoc

Try TS-Check integrated to VS Code

https://code.visualstudio.com/

Open VS Code and play with src/*.js files

Typing error:
tscheck error

JSDoc comment:
tscheck jsdoc

Releases

No releases published

Packages

No packages published