It seems that this happens when interfaces are used in @Input(). I’m hoping that they fix it ASAP too.
As a workaround I’m using @Input() inputName: null | MyInterface (for some reason this works for me, and when they fix it I’ll search for all occurences of null | in my project, remove them and let only the interfaces).
(This way I still get autocompletion and typescript errors).
@Sfraga is your interface in some @Input() or you use it only like exposed in your code? In my case, all errors occured in @Input() (although I don’t have classes with interfaces in the constructor to see what would happen). You could try this aproach too, something like constructor(config: null | Config).
@osi Seeing the issue below, it seems it is an Ionic’s problem (and if this was angular’s, this issue wouldn’t start to happen just when Ionic updated to RC0, I think)
Probably related with 1 of these changes (or both):
Move away from gulp (ionic-gulp-tasks) to npm scripts (ionic-app-scripts)
Use Rollup for bundling instead of browserify or webpack