build: turn on tsc's stripInternal when producint public d.ts file

I also made some changes to fix imports and remove some stuff that caused
breakage once stripInternals was turned on.
This commit is contained in:
Igor Minar
2016-05-19 15:29:50 -07:00
parent 7bfe8aa553
commit 0035575c82
24 changed files with 33 additions and 27 deletions

View File

@ -5,6 +5,7 @@
"compilerOptions": {
"baseUrl": ".",
"declaration": true,
"stripInternal": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"module": "es2015",

View File

@ -5,6 +5,7 @@
"compilerOptions": {
"baseUrl": ".",
"declaration": true,
"stripInternal": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"module": "commonjs",