Skip to content

Instantly share code, notes, and snippets.

@talhajunaidd
Created January 3, 2019 14:24
Show Gist options
  • Save talhajunaidd/b9cf535368c869362ca77811edd82a99 to your computer and use it in GitHub Desktop.
Save talhajunaidd/b9cf535368c869362ca77811edd82a99 to your computer and use it in GitHub Desktop.
{
"compilerOptions": {
"charset": "utf8",
"sourceMap": true,
"allowSyntheticDefaultImports": true,
"target": "es5",
"moduleResolution": "node",
"module": "umd",
"outDir": "./dist",
"experimentalDecorators": true,
"removeComments": true,
"preserveConstEnums": true,
"diagnostics": true,
"allowJs": true, // Allows to compile the javascript file
"declaration": true, //generate the corresponding .d.ts file
"declarationDir": "./@types" // Specify the location for the declaration file separately
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules",
"dist"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment