Skip to content

Instantly share code, notes, and snippets.

@dxc04
Created June 30, 2020 09:13
Show Gist options
  • Save dxc04/6d19efdca0a0dd2cb5da2cadc78a05e8 to your computer and use it in GitHub Desktop.
Save dxc04/6d19efdca0a0dd2cb5da2cadc78a05e8 to your computer and use it in GitHub Desktop.
ts config on vue web/lib components
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"strict": true,
"jsx": "preserve",
"importHelpers": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"allowJs": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strictPropertyInitialization": false,
"sourceMap": true,
"baseUrl": ".",
"types": [
"webpack-env",
"jest"
],
"paths": {
"@/*": [
"src/*"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"tests/**/*.ts",
"tests/**/*.tsx"
],
"exclude": [
"node_modules"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment