Skip to content

Instantly share code, notes, and snippets.

@evdama
Last active July 13, 2019 02:26
Show Gist options
  • Select an option

  • Save evdama/9c2c756e2bca9d685816b099f9c4d42c to your computer and use it in GitHub Desktop.

Select an option

Save evdama/9c2c756e2bca9d685816b099f9c4d42c to your computer and use it in GitHub Desktop.
ts config for firebase cloud functions (used in a sapper project)
{
"compilerOptions": {
"allowJs": true,
"alwaysStrict": true,
"checkJs": true,
"module": "commonjs",
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "lib",
"removeComments": true,
"sourceMap": true,
"strict": true,
"strictNullChecks": true,
"target": "es2017"
},
"compileOnSave": true,
"include": [
"src"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment