feat(compiler-cli): add support for TypeScript 4.0 (#38076)
With this change we add support for TypeScript 4.0 PR Close #38076
This commit is contained in:
@ -45,8 +45,7 @@ export abstract class NgElement extends HTMLElement {
|
||||
/**
|
||||
* The strategy that controls how a component is transformed in a custom element.
|
||||
*/
|
||||
// TODO(issue/24571): remove '!'.
|
||||
protected ngElementStrategy!: NgElementStrategy;
|
||||
protected abstract ngElementStrategy: NgElementStrategy;
|
||||
/**
|
||||
* A subscription to change, connect, and disconnect events in the custom element.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user