chore(typescript): Enabled noFallthroughCasesInSwitch

Turned on the noFallthroughCasesInSwitch flag in tsconfig and fixed
a few cases where there were fallthroughs.
This commit is contained in:
ScottSWu
2016-06-22 15:57:24 -07:00
parent f6a410a4a8
commit 8899b83927
5 changed files with 9 additions and 3 deletions

View File

@ -91,7 +91,10 @@ export class UpgradeNg1ComponentAdapterBuilder {
this.outputs.push(outputName);
this.outputsRename.push(outputNameRenameChange);
this.propertyMap[outputName] = localName;
// don't break; let it fall through to '@'
this.inputs.push(inputName);
this.inputsRename.push(inputNameRename);
this.propertyMap[inputName] = localName;
break;
case '@':
// handle the '<' binding of angular 1.5 components
case '<':