Skip to content

Instantly share code, notes, and snippets.

View ahmad-ali14's full-sized avatar
🤔

Ahmad Ali ahmad-ali14

🤔
View GitHub Profile
@ahmad-ali14
ahmad-ali14 / tsconfig.json
Created February 18, 2024 06:49 — forked from mtimbs/tsconfig.json
basic default tsconfig for use in TypeScript projects
{
"compilerOptions": {
// project options
"lib": [
"ESNext",
"dom"
], // specifies which default set of type definitions to use ("DOM", "ES6", etc)
"outDir": "lib", // .js (as well as .d.ts, .js.map, etc.) files will be emitted into this directory.,
"removeComments": true, // Strips all comments from TypeScript files when converting into JavaScript- you rarely read compiled code so this saves space
"target": "ES6", // Target environment. Most modern browsers support ES6, but you may want to set it to newer or older. (defaults to ES3)