From 1060805a1ffbe46464e334d5baec3bfcc0ba6e36 Mon Sep 17 00:00:00 2001 From: Aliaksei Kuncevic Date: Thu, 23 Mar 2017 11:57:03 +1100 Subject: [PATCH] docs: fix spelling --- packages/compiler/src/ml_parser/icu_ast_expander.ts | 2 +- packages/compiler/src/output/path_util.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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*/; }