Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 615 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 615 Bytes

tsconfig

Shared TypeScript config for Smooth Scrollbar HQ.

Install

npm install --save-dev @smooth-scrollbar-contrib/tsconfig

Usage

1. Use the base config:

{
  "extends": "@smooth-scrollbar-contrib/tsconfig",
}

2. Use for React projects

{
  "extends": "@smooth-scrollbar-contrib/tsconfig/tsconfig.react.json",
}

3. Use for Vue projects

{
  "extends": "@smooth-scrollbar-contrib/tsconfig/tsconfig.vue.json",
}

4. Use for Svelte projects

{
  "extends": "@smooth-scrollbar-contrib/tsconfig/tsconfig.svelte.json",
}