Merge pull request #23976 from ialexryan/patch-3

Fix comment typo in program.ts
This commit is contained in:
Mohamed Hegazy 2018-05-08 22:08:56 -07:00 committed by GitHub
commit 030b8fc8a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -783,7 +783,7 @@ namespace ts {
// We only set `file.resolvedModules` via work from the current function,
// so it is defined iff we already called the current function on `file`.
// That call happened no later than the creation of the `file` object,
// which per above occured during the current program creation.
// which per above occurred during the current program creation.
// Since we assume the filesystem does not change during program creation,
// it is safe to reuse resolutions from the earlier call.
const result: ResolvedModuleFull[] = [];