Merge pull request #25313 from github-john-doe/typo

Typo
This commit is contained in:
Mohamed Hegazy
2018-07-05 11:43:12 -07:00
committed by GitHub
12 changed files with 14 additions and 14 deletions

View File

@@ -498,7 +498,7 @@ namespace ts.FindAllReferences.Core {
return this.importTracker(exportSymbol, exportInfo, !!this.options.isForRename);
}
/** @param allSearchSymbols set of additinal symbols for use by `includes`. */
/** @param allSearchSymbols set of additional symbols for use by `includes`. */
createSearch(location: Node | undefined, symbol: Symbol, comingFrom: ImportExport | undefined, searchOptions: { text?: string, allSearchSymbols?: Symbol[] } = {}): Search {
// Note: if this is an external module symbol, the name doesn't include quotes.
// Note: getLocalSymbolForExportDefault handles `export default class C {}`, but not `export default C` or `export { C as default }`.

View File

@@ -102,7 +102,7 @@ namespace ts {
readDirectory(rootDir: string, extension: string, basePaths?: string, excludeEx?: string, includeFileEx?: string, includeDirEx?: string, depth?: number): string;
/**
* Read arbitary text files on disk, i.e. when resolution procedure needs the content of 'package.json' to determine location of bundled typings for node modules
* Read arbitrary text files on disk, i.e. when resolution procedure needs the content of 'package.json' to determine location of bundled typings for node modules
*/
readFile(fileName: string): string | undefined;
realpath?(path: string): string;