@kaydafox/typescript-config@1.0.0
Just the config files i use for typescript
@kaydafox/typescript-config
My main typescript configurations
Table
Installation
This can be installed by using the below command. Just replace yarn add
with your package manager if you use a different one
yarn add -D @kaydafox/typescript-config
Usage
This contains a few different tsconfigs depending on what I need
@kaydafox/typescript-config/base
/@kaydafox/typescript-config
@kaydafox/typescript-config/strict
@kaydafox/typescript-config/no-decorators
I always recommend the base config to be added and the rest used as needed.
They can be used by adding them to your tsconfig
inside of extends: []
The base
config is the default and is set up in a way that suits the majority of the projects I have
The strict
config just adds a few options on to the base config for more strict type checking
Lastly, no-decorators
is recommended to add to a project if decorators aren't going to be used. It's on by default in the base
config because personally I love using decorators
Add Package
deno add jsr:@kaydafox/typescript-config
Import symbol
import * as typescript_config from "@kaydafox/typescript-config";
Import directly with a jsr specifier
import * as typescript_config from "jsr:@kaydafox/typescript-config";
Add Package
pnpm i jsr:@kaydafox/typescript-config
pnpm dlx jsr add @kaydafox/typescript-config
Import symbol
import * as typescript_config from "@kaydafox/typescript-config";
Add Package
yarn add jsr:@kaydafox/typescript-config
yarn dlx jsr add @kaydafox/typescript-config
Import symbol
import * as typescript_config from "@kaydafox/typescript-config";
Add Package
vlt install jsr:@kaydafox/typescript-config
Import symbol
import * as typescript_config from "@kaydafox/typescript-config";
Add Package
npx jsr add @kaydafox/typescript-config
Import symbol
import * as typescript_config from "@kaydafox/typescript-config";
Add Package
bunx jsr add @kaydafox/typescript-config
Import symbol
import * as typescript_config from "@kaydafox/typescript-config";