Skip to content

Instantly share code, notes, and snippets.

@chrisvasqm
Last active May 25, 2024 16:28
Show Gist options
  • Save chrisvasqm/f0e8085c694597df898725e3f6d2788b to your computer and use it in GitHub Desktop.
Save chrisvasqm/f0e8085c694597df898725e3f6d2788b to your computer and use it in GitHub Desktop.
Sample tsconfig.json file to convert a JavaScript project to TypeScript (Tip: Remove the "module" property from your package.json if you have it)
{
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext",
"target": "ES2020",
"sourceMap": true,
"outDir": "dist"
},
"include": [
"*"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment