diff --git a/scripts/build/tests.mjs b/scripts/build/tests.mjs index 9c39ca9ed62..47dd96871ca 100644 --- a/scripts/build/tests.mjs +++ b/scripts/build/tests.mjs @@ -85,7 +85,7 @@ export async function runConsoleTests(runJs, defaultReporter, runInParallel, opt /** @type {string[]} */ const args = []; - // timeout normally isn't necessary but Travis-CI has been timing out on compiler selines occasionally + // timeout normally isn't necessary but Travis-CI has been timing out on compiler baselines occasionally // default timeout is 2sec which really should be enough, but maybe we just need a small amount longer if (!runInParallel) { args.push(mochaJs); diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts index 9e0a75bf56c..0acc708c2c0 100644 --- a/src/compiler/parser.ts +++ b/src/compiler/parser.ts @@ -1413,7 +1413,7 @@ namespace Parser { var disallowInAndDecoratorContext = NodeFlags.DisallowInContext | NodeFlags.DecoratorContext; - const factory = createNodeFactory(NodeFactoryFlags.NoParenthesizerRules | NodeFactoryFlags.NoNodeConverters | NodeFactoryFlags.NoOriginalNode); + var factory = createNodeFactory(NodeFactoryFlags.NoParenthesizerRules | NodeFactoryFlags.NoNodeConverters | NodeFactoryFlags.NoOriginalNode); var { createNodeArray: factoryCreateNodeArray, diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 82b080bc6ef..65241609476 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -4414,7 +4414,7 @@ export interface SourceFile extends Declaration, LocalsContainer { } /** - * Represents an immutable snapshot of a script at a specified time.Once acquired, the + * Represents an immutable snapshot of a script at a specified time. Once acquired, the * snapshot is observably immutable. i.e. the same calls with the same parameters will return * the same values. */