Skip to content

Instantly share code, notes, and snippets.

@liuzhoou
Last active March 22, 2019 16:04
Show Gist options
  • Save liuzhoou/267388b896ff910661b0aeb1d0b4b762 to your computer and use it in GitHub Desktop.
Save liuzhoou/267388b896ff910661b0aeb1d0b4b762 to your computer and use it in GitHub Desktop.
tern-project & tsconfig.json
{
"libs": [
"ecma5",
"ecma6",
"browser",
"jquery",
"underscore"
],
"loadEagerly": [
"importantfile.js"
],
"plugins": {
"commonjs": {},
"node": {},
"node_resolve": {},
"requirejs": {
"baseURL": "./",
"paths": {}
},
"webpack": {},
"es_modules": {}
},
"ecmaScript": true,
"ecmaVersion": 6
}
{
"libs": ["browser", "ecma5", "ecma6"],
"loadEagerly": ["./*.js"],
"plugins": {
"requirejs": {
"baseURL": "./",
"paths": {}
},
"node": {},
"modules": {},
"es_modules": {},
"complete_strings": {}
}
}
{
"compilerOptions": {
"strictNullChecks": true,
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"jsx": "preserve",
"target": "es6"
},
"exclude": [
"node_modules"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment