Skip to content

Instantly share code, notes, and snippets.

@marg51
Created February 5, 2017 17:57
Show Gist options
  • Save marg51/1de1f4fc9b0168b088936092797f3290 to your computer and use it in GitHub Desktop.
Save marg51/1de1f4fc9b0168b088936092797f3290 to your computer and use it in GitHub Desktop.
create-react-app with vscode & typescript
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true,
"src/**/*.jsx": true
}
}

tsc --watch yarnpkg start

{
"compilerOptions": {
"target": "es6",
"allowJs": true,
"jsx": "react",
"outDir": "src",
"jsxFactory": "Inferno",
"noImplicitAny": false,
"experimentalDecorators": true
},
"include": [
"src/**/*.ts",
"src/**/*.tsx"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment