Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 615 Bytes

File metadata and controls

40 lines (27 loc) · 615 Bytes

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