3.0.1 • Published 4 years ago

@start/plugin-lib-typescript-check v3.0.1

Weekly downloads
99
License
MIT
Repository
github
Last release
4 years ago

🚷 plugin-lib-typescript-check

Check types using TypeScript.

Install

$ yarn add --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()