Skip to content
This repository was archived by the owner on Mar 27, 2020. It is now read-only.

Latest commit

 

History

History
44 lines (30 loc) · 1.44 KB

File metadata and controls

44 lines (30 loc) · 1.44 KB

🚷 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()