Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

About

Source code of live demo for "@ts-check", an awesome feature from TypeScript for static type checking of your Vanilla JS

Topics

Resources

Releases

No releases published

Packages

No packages published