refactor: fix typos (#18000)

This commit is contained in:
Victor Berchet
2017-07-07 16:55:17 -07:00
committed by Jason Aden
parent 9dd550fa1e
commit c723d42d0a
41 changed files with 48 additions and 50 deletions

View File

@ -375,7 +375,7 @@ export class Evaluator {
if (expression && this.isFoldable(propertyAccessExpression.expression))
return (<any>expression)[<string>member];
if (isMetadataModuleReferenceExpression(expression)) {
// A select into a module refrence and be converted into a reference to the symbol
// A select into a module reference and be converted into a reference to the symbol
// in the module
return recordEntry(
{__symbolic: 'reference', module: expression.module, name: member}, node);

View File

@ -28,7 +28,7 @@ interface Options extends ts.CompilerOptions {
// Whether to generate a flat module index of the given name and the corresponding
// flat module metadata. This option is intended to be used when creating flat
// modules similar to how `@angular/core` and `@angular/common` are packaged.
// When this option is used the `package.json` for the library should refered to the
// When this option is used the `package.json` for the library should referred to the
// generated flat module index instead of the library index file. When using this
// option only one .metadata.json file is produced that contains all the metadata
// necessary for symbols exported from the library index.

View File

@ -920,7 +920,7 @@ const FILES: Directory = {
}
getHeroes() {
this._heroService.getHeroesSlowly().then(heros => this.heroes = heros);
this._heroService.getHeroesSlowly().then(heroes => this.heroes = heroes);
}
}`,
'hero.ts': `