Skip to content

Shared TypeScript config for my projects

License

Notifications You must be signed in to change notification settings

janriemer/tsconfig

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsconfig

Shared TypeScript config for my projects

Install

npm install --save-dev @sindresorhus/tsconfig

This config requires TypeScript 4.7 or later.

Usage

tsconfig.json

{
	"extends": "@sindresorhus/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": "@sindresorhus/tsconfig",
	"compilerOptions": {
		"outDir": "dist",
		"target": "ES2021"
	}
}

About

Shared TypeScript config for my projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published