Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 648 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 648 Bytes

tsconfig

Initially forked from https://github.com/sindresorhus/tsconfig

Shared TypeScript config for my projects

Install

npm install --save-dev @unsync/tsconfig

This config requires TypeScript 5 or later.

Usage

tsconfig.json

{
	"extends": "@unsync/tsconfig",
	"compilerOptions": {
		"outDir": "dist"
	}
}

When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as target:

{
	"extends": "@unsync/tsconfig",
	"compilerOptions": {
		"outDir": "dist",
		"target": "ES2023"
	}
}