diff --git a/packages/compiler/src/ml_parser/icu_ast_expander.ts b/packages/compiler/src/ml_parser/icu_ast_expander.ts index d135ee95a3..3e7d5d15ac 100644 --- a/packages/compiler/src/ml_parser/icu_ast_expander.ts +++ b/packages/compiler/src/ml_parser/icu_ast_expander.ts @@ -102,7 +102,7 @@ function _expandPluralForm(ast: html.Expansion, errors: ParseError[]): html.Elem 'ng-container', [switchAttr], children, ast.sourceSpan, ast.sourceSpan, ast.sourceSpan); } -// ICU messages (excluding plural form) are expanded to `NgSwitch` and `NgSwitychCase`s +// ICU messages (excluding plural form) are expanded to `NgSwitch` and `NgSwitchCase`s function _expandDefaultForm(ast: html.Expansion, errors: ParseError[]): html.Element { const children = ast.cases.map(c => { const expansionResult = expandNodes(c.expression); diff --git a/packages/compiler/src/output/path_util.ts b/packages/compiler/src/output/path_util.ts index bc262193da..7080a873be 100644 --- a/packages/compiler/src/output/path_util.ts +++ b/packages/compiler/src/output/path_util.ts @@ -26,7 +26,7 @@ export abstract class ImportResolver { abstract getImportAs(symbol: StaticSymbol): StaticSymbol /*|null*/; /** - * Determine the airty of a type. + * Determine the arity of a type. */ abstract getTypeArity(symbol: StaticSymbol): number /*|null*/; }