tsconfig-interface
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

tsconfig-interface

Package providing the tsconfig.json interface type. That is automatically generated from the official json schema in the schema store. As listed in the typescript official documentation (tsconfig).

The interface is updated regularly. Whenever the schema change.

If you want to manage that process yourself through your own crone job. You can use the generator module i built tsconfig-interface-generator. You can check here. It does export good tooling. You can use getInterfaceFromJsonSchemaUrl() method to simply generate the interface from the official schema from the official source.

Npmjs: ...

Installation

npm install tsconfig-interface
pnpm add tsconfig-interface
yarn add tsconfig-interface

Usage

import { ITsconfig } from 'tsconfig-interface';

type TCompilerOptions = ITsconfig['compilerOptions'];
type TModuleType = ITsconfig['compilerOptions']['module'];

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i tsconfig-interface

      Weekly Downloads

      0

      Version

      1.0.1

      License

      MIT

      Unpacked Size

      28 kB

      Total Files

      3

      Last publish

      Collaborators

      • mohamed.lamine.allal