docs: fix spelling

This commit is contained in:
Aliaksei Kuncevic 2017-03-23 11:57:03 +11:00 committed by Igor Minar
parent 08d86751b9
commit 1060805a1f
2 changed files with 2 additions and 2 deletions
packages/compiler/src

@ -102,7 +102,7 @@ function _expandPluralForm(ast: html.Expansion, errors: ParseError[]): html.Elem
'ng-container', [switchAttr], children, ast.sourceSpan, ast.sourceSpan, ast.sourceSpan); '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 { function _expandDefaultForm(ast: html.Expansion, errors: ParseError[]): html.Element {
const children = ast.cases.map(c => { const children = ast.cases.map(c => {
const expansionResult = expandNodes(c.expression); const expansionResult = expandNodes(c.expression);

@ -26,7 +26,7 @@ export abstract class ImportResolver {
abstract getImportAs(symbol: StaticSymbol): StaticSymbol /*|null*/; abstract getImportAs(symbol: StaticSymbol): StaticSymbol /*|null*/;
/** /**
* Determine the airty of a type. * Determine the arity of a type.
*/ */
abstract getTypeArity(symbol: StaticSymbol): number /*|null*/; abstract getTypeArity(symbol: StaticSymbol): number /*|null*/;
} }