Skip to content

Instantly share code, notes, and snippets.

@Sathiyapramod
Created February 27, 2024 11:59
Show Gist options
  • Save Sathiyapramod/74c699cdb4b78cd585ffd7f7c25e93a2 to your computer and use it in GitHub Desktop.
Save Sathiyapramod/74c699cdb4b78cd585ffd7f7c25e93a2 to your computer and use it in GitHub Desktop.
Front-end tsconfig.json
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"types": ["vite-plugin-svgr/client"]
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
}
{
"compilerOptions": {
"composite": true,
"skipLibCheck": true,
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment