rtbenfield / tsconfig-workers

TSConfig base for Cloudflare Workers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"]

About

TSConfig base for Cloudflare Workers

License:MIT License