fix import error when running tsickle on valid tsc code (#238)
fix import error when running tsickle on valid tsc code (#238)

tsickle's current approach is to run TypeScript, modify the output, and pass it through TypeScript again. We don't want to type check the code twice, so only check it on the first pass.

Fixes #189.
lucidsoftware/tsickle,angular/tsickle,ncfxy/tsickle,angular/tsickle,ncfxy/tsickle,alexeagle/tsickle,drjanitor/tsickle,drjanitor/tsickle,lucidsoftware/tsickle,alexeagle/tsickle,alexeagle/tsickle,drjanitor/tsickle,ncfxy/tsickle,drjanitor/tsickle,lucidsoftware/tsickle