angular-cn/packages/core
Andrew Kushnir c8b5b81516 refactor(ivy): avoid type coercion in `saveNameToExportMap` function (#34335)
TypeScript 3.7 flags `if` conditions that implicitly coerce a function/method definition. While checking for the `template` presence on a def (actually checking whether we work with Component) in `saveNameToExportMap`, the `if` condition had implicit type coercion. This commit updates the condition to use the `isComponentDef` function (that checks `def.template` against `null` internally) to avoid compilation errors with TypeScript 3.7.

PR Close #34335
2019-12-10 14:06:25 -08:00
..
schematics refactor(core): update missing-injectable migration description to match guide (#34125) 2019-12-02 11:21:50 -08:00
src refactor(ivy): avoid type coercion in `saveNameToExportMap` function (#34335) 2019-12-10 14:06:25 -08:00
test fix(ivy): handle SafeStyles in [style.prop] correctly (#34286) 2019-12-10 10:32:27 -08:00
testing fix(ivy): align TestBed.overrideProvider with what happens with providers in TestBed providers array (#33769) 2019-12-06 13:06:22 -08:00
BUILD.bazel build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
global.ts feat(docs-infra): add the ability to expose globals (#34237) 2019-12-06 10:58:09 -08:00
index.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
package.json build: set up all packages to publish via wombot proxy (#33747) 2019-11-13 11:34:33 -08:00
public_api.ts build: publish tree of files rather than FESMs (#18541) 2017-08-31 15:34:50 -07:00