Skip to content

Latest commit

 

History

History
 
 

plugin-lib-typescript-check

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

🚷 plugin-lib-typescript-check

npm linux windows coverage deps

Check types using TypeScript.

Install

$ yarn add --dev @start/plugin-lib-typescript-check
# or
$ npm install --save-dev @start/plugin-lib-typescript-check

Usage

Signature

typescriptCheck(options?: {})

options

TypeScript Compiler options.

Default:

{
  allowSyntheticDefaultImports: true,
  lib: 'esnext',
  moduleResolution: 'node',
  pretty: true
}

Example

import typescriptCheck from '@start/plugin-lib-typescript-check'

export const task = () => typescriptCheck()