Skip to content

Repository files navigation

typescript-checker

Run:

npm install @v4fire/typescript-check
npx @v4fire/typescript-check

Usage with github actions:

npm install @v4fire/typescript-check

typescript.yml

name: Typescript Error Reporteron: [push, pull_request]jobs:
test:
runs-on: ubuntu-lateststrategy:
matrix:
node-version: [14.1]steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}uses: actions/setup-node@v1with:
node-version: ${{ matrix.node-version }}
- name: Install dependenciesrun: npm ci
- name: build tsconfigrun: npx gulp build:tsconfig
- name: Typecheckrun: npx @v4fire/typescript-check

Setting up a CLI logger

npx @v4fire/typescript-check --logger cli

Setting up errors threshold

npx @v4fire/typescript-check --max-errors 70

Specifying a custom tsconfig file name (tsconfig.json is used by default)

npx @v4fire/typescript-check --tsconfig-filename client.tsconfig.json

About

Checks typescript for errors

Resources

Stars

2 stars

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages