angular-cn/tools
Alex Rickabaugh 818c514968 feat(ivy): add a runtime feature to copy cmp/dir definitions (#33362)
This commit adds CopyDefinitionFeature, which supports the case where an
entire decorator (@Component or @Directive) is inherited from parent to
child.

The existing inheritance feature, InheritDefinitionFeature, supports merging
of parent and child definitions when both were originally present. This
merges things like inputs, outputs, host bindings, etc.

CopyDefinitionFeature, on the other hand, compensates for a definition that
was missing entirely on the child class, by copying fields that aren't
ordinarily inherited (like the template function itself).

This feature is intended to only be used as part of ngcc code generation.

PR Close #33362
2019-10-25 09:16:50 -07:00
..
brotli-cli
build
cjs-jasmine
gulp-tasks
material-ci
ngcontainer
npm
public_api_guard
rxjs
size-tracking
source-map-test
symbol-extractor
testing
ts-api-guardian
tslint
validate-commit-message
yarn
BUILD.bazel
bazel_stamp_vars.js
check-environment.js
defaults.bzl
jasmine-seed-generator.js
jsconfig.json
postinstall-patches.js
rebase-pr.js
rollup_bundle_commonjs_ignoreGlobal.patch
tsconfig-test.json
tsconfig.json
types.d.ts
utils.inc
verify-codeownership.js