build: update node type version (#25862)

PR Close #25862
This commit is contained in:
Pete Bacon Darwin
2018-09-10 11:44:48 +01:00
committed by Ben Lesh
parent f76a9ad156
commit 976389836e
8 changed files with 15 additions and 9 deletions

View File

@ -10,7 +10,7 @@ import * as fs from 'fs';
import * as path from 'path';
import * as shx from 'shelljs';
shx.cd(path.join(process.env['TEST_SRCDIR'], 'angular', 'packages', 'common', 'npm_package'));
shx.cd(path.join(process.env['TEST_SRCDIR'] !, 'angular', 'packages', 'common', 'npm_package'));
describe('@angular/common ng_package', () => {
describe('should have the locales files', () => {

View File

@ -10,7 +10,7 @@ import * as path from 'path';
import * as shx from 'shelljs';
const corePackagePath =
path.join(process.env['TEST_SRCDIR'], 'angular', 'packages', 'core', 'npm_package');
path.join(process.env['TEST_SRCDIR'] !, 'angular', 'packages', 'core', 'npm_package');
shx.cd(corePackagePath);
/**

View File

@ -152,7 +152,7 @@ export function setup(
function runOneBuildImpl(): boolean { return runOneBuild(['@' + tsConfigJsonPath]); }
}
function makeTempDir(baseDir): string {
function makeTempDir(baseDir: string): string {
const id = (Math.random() * 1000000).toFixed(0);
const dir = path.join(baseDir, `tmp.${id}`);
fs.mkdirSync(dir);