angular/modules/@angular
Tobias Bosch f5c8e0989d feat(core): properly support inheritance
## Inheritance Semantics:

Decorators:
1) list the decorators of the class and its parents in the ancestor first order
2) only use the last decorator of each kind (e.g. @Component / ...)

Constructor parameters:
If a class inherits from a parent class and does not declare
a constructor, it inherits the parent class constructor,
and with it the parameter metadata of that parent class.

Lifecycle hooks:
Follow the normal class inheritance model,
i.e. lifecycle hooks of parent classes will be called
even if the method is not overwritten in the child class.

## Example

E.g. the following is a valid use of inheritance and it will
also inherit all metadata:

```
@Directive({selector: 'someDir'})
class ParentDirective {
  constructor(someDep: SomeDep) {}

  ngOnInit() {}
}

class ChildDirective extends ParentDirective {}
```

Closes #11606
Closes #12892
2016-11-28 14:12:12 -08:00
..
benchpress Keep console.log that are not called during compilation. 2016-11-23 15:47:02 -08:00
common doc(common): fix a typo in async pipe 2016-11-28 14:11:45 -08:00
compiler feat(core): properly support inheritance 2016-11-28 14:12:12 -08:00
compiler-cli feat(core): properly support inheritance 2016-11-28 14:12:12 -08:00
core feat(core): properly support inheritance 2016-11-28 14:12:12 -08:00
docs docs: remove outdated docs (#11875) 2016-09-24 08:23:28 +09:00
examples Keep console.log that are not called during compilation. 2016-11-23 15:47:02 -08:00
facade feat(core): properly support inheritance 2016-11-28 14:12:12 -08:00
forms feature(tsc-wrapped): add option for closure compiler JSDoc annotations 2016-11-18 09:37:40 -08:00
http feature(tsc-wrapped): add option for closure compiler JSDoc annotations 2016-11-18 09:37:40 -08:00
language-service fix(language-service): make link check pass 2016-11-23 16:21:06 -08:00
platform-browser revert: fix(animations): blend in all previously transitioned styles into next animation if interrupted 2016-11-28 13:23:52 -08:00
platform-browser-dynamic refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
platform-server refactor(lint): Don't allow console.log 2016-11-23 15:47:01 -08:00
platform-webworker refactor(lint): Don't allow console.log 2016-11-23 15:47:01 -08:00
platform-webworker-dynamic refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
router Revert "fix(router): guards restor an incorrect url when used with skipLocationChange" 2016-11-22 13:31:33 -08:00
upgrade Check if console.error is defined 2016-11-23 15:47:02 -08:00
license-banner.txt build: remove JS suffix from the license banner 2016-09-13 21:48:58 -07:00
README.md docs: update README.md for npm packages 2016-09-14 17:14:02 -07:00
router-license-banner.txt fix(router): add a banner file for the router (#12919) 2016-11-16 09:17:19 -08:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT