build: fix type-check errors introduced during rules_ts 0.21 (#27586)

PR Close #27586
This commit is contained in:
Alex Eagle 2018-12-10 14:36:45 -08:00 committed by Alex Rickabaugh
parent bf57e9d781
commit 50687e11cf
7 changed files with 15 additions and 1 deletions

View File

@ -8,7 +8,7 @@
* @fileoverview Schematics for ng-new project that builds with Bazel.
*/
import {apply, applyTemplates, chain, externalSchematic, MergeStrategy, mergeWith, move, Rule, schematic, Tree, url, SchematicsException, UpdateRecorder,} from '@angular-devkit/schematics';
import {SchematicContext, apply, applyTemplates, chain, externalSchematic, MergeStrategy, mergeWith, move, Rule, schematic, Tree, url, SchematicsException, UpdateRecorder,} from '@angular-devkit/schematics';
import {parseJsonAst, JsonAstObject, strings, JsonValue} from '@angular-devkit/core';
import {findPropertyInAstObject, insertPropertyInAstObjectInOrder} from '@schematics/angular/utility/json-utils';
import {validateProjectName} from '@schematics/angular/utility/validation';

View File

@ -4,6 +4,13 @@ ts_library(
name = "test_lib",
testonly = True,
srcs = glob(["**/*.ts"]),
deps = [
"//packages:types",
"//packages/benchpress",
"//packages/core",
"//packages/core/testing",
"@ngdeps//protractor",
],
)
jasmine_node_test(

View File

@ -18,6 +18,7 @@ ts_library(
"//packages/core",
"//packages/core/testing",
"//packages/platform-server",
"//packages/private/testing",
],
)

View File

@ -11,6 +11,7 @@ ts_library(
deps = [
"//packages/compiler-cli/src/ngcc",
"//packages/compiler-cli/src/ngtsc/host",
"//packages/compiler-cli/src/ngtsc/metadata",
"//packages/compiler-cli/src/ngtsc/testing",
"//packages/compiler-cli/src/ngtsc/transform",
"@ngdeps//@types/convert-source-map",

View File

@ -6,6 +6,7 @@ ts_library(
srcs = glob(["**/*.ts"]),
deps = [
"//packages:types",
"//packages/compiler",
"//packages/compiler/testing",
"//packages/core/testing",
"//packages/platform-browser",

View File

@ -6,8 +6,11 @@ ts_library(
srcs = glob(["**/*.ts"]),
deps = [
"//packages:types",
"//packages/compiler",
"//packages/compiler/testing",
"//packages/core/testing",
"//packages/platform-browser",
"//packages/platform-browser/testing",
],
)

View File

@ -8,6 +8,7 @@ ts_library(
),
deps = [
"//packages/service-worker/config",
"//packages/service-worker/config/testing",
],
)