Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 828 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 828 Bytes

TSConfig base for Cloudflare Workers

This packages provides a base TSConfig file for use within Cloudflare Workers projects. It's intended to complement the excellent @tsconfig/bases project.

Usage

Add the package to your "devDependencies":

npm install --save-dev @rtbenfield/tsconfig-workers

Add to your tsconfig.json:

"extends": "@rtbenfield/tsconfig-workers"

Usage with @tsconfig/bases

It's recommended to use this base alongside @tsconfig/strictest:

Add both packages to your "devDependencies":

npm install --save-dev @rtbenfield/tsconfig-workers @tsconfig/strictest

Add to your tsconfig.json:

"extends": ["@tsconfig/strictest", "@rtbenfield/tsconfig-workers"]