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

View File

@ -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);

View File

@ -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*/;
}