refactor(core): remove deprecated 'bootstrap' (#10831)
This commit is contained in:
@ -45,8 +45,6 @@ export abstract class ChangeDetectorRef {
|
||||
* })
|
||||
* class App {
|
||||
* }
|
||||
*
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
*/
|
||||
abstract markForCheck(): void;
|
||||
@ -104,8 +102,6 @@ export abstract class ChangeDetectorRef {
|
||||
* })
|
||||
* class App {
|
||||
* }
|
||||
*
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
*/
|
||||
abstract detach(): void;
|
||||
@ -195,8 +191,6 @@ export abstract class ChangeDetectorRef {
|
||||
* class App {
|
||||
* live = true;
|
||||
* }
|
||||
*
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
*/
|
||||
abstract reattach(): void;
|
||||
|
@ -237,8 +237,6 @@ export class SkipSelfMetadata {
|
||||
* })
|
||||
* class App {
|
||||
* }
|
||||
*
|
||||
* bootstrap(App);
|
||||
*```
|
||||
* @stable
|
||||
*/
|
||||
|
@ -981,8 +981,6 @@ export var Pipe: PipeMetadataFactory = <PipeMetadataFactory>makeDecorator(PipeMe
|
||||
* directives: [BankAccount]
|
||||
* })
|
||||
* class App {}
|
||||
*
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
* @stable
|
||||
* @Annotation
|
||||
@ -1028,7 +1026,6 @@ export var Input: InputMetadataFactory = makePropDecorator(InputMetadata);
|
||||
* everySecond() { console.log('second'); }
|
||||
* everyFiveSeconds() { console.log('five seconds'); }
|
||||
* }
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
* @stable
|
||||
* @Annotation
|
||||
@ -1067,8 +1064,6 @@ export var Output: OutputMetadataFactory = makePropDecorator(OutputMetadata);
|
||||
* class App {
|
||||
* prop;
|
||||
* }
|
||||
*
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
* @stable
|
||||
* @Annotation
|
||||
@ -1106,8 +1101,6 @@ export var HostBinding: HostBindingMetadataFactory = makePropDecorator(HostBindi
|
||||
* directives: [CountClicks]
|
||||
* })
|
||||
* class App {}
|
||||
*
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
* @stable
|
||||
* @Annotation
|
||||
|
@ -485,8 +485,6 @@ export class DirectiveMetadata extends InjectableMetadata implements DirectiveMe
|
||||
* directives: [BankAccount]
|
||||
* })
|
||||
* class App {}
|
||||
*
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
*
|
||||
*/
|
||||
@ -534,7 +532,6 @@ export class DirectiveMetadata extends InjectableMetadata implements DirectiveMe
|
||||
* everySecond() { console.log('second'); }
|
||||
* everyFiveSeconds() { console.log('five seconds'); }
|
||||
* }
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
*
|
||||
*/
|
||||
@ -585,8 +582,6 @@ export class DirectiveMetadata extends InjectableMetadata implements DirectiveMe
|
||||
* directives: [CountClicks]
|
||||
* })
|
||||
* class App {}
|
||||
*
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
*
|
||||
* ## Host Property Bindings
|
||||
@ -623,8 +618,6 @@ export class DirectiveMetadata extends InjectableMetadata implements DirectiveMe
|
||||
* class App {
|
||||
* prop;
|
||||
* }
|
||||
*
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
*
|
||||
* ## Attributes
|
||||
@ -1103,8 +1096,6 @@ export class PipeMetadata extends InjectableMetadata implements PipeMetadataType
|
||||
* directives: [BankAccount]
|
||||
* })
|
||||
* class App {}
|
||||
*
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
* @stable
|
||||
*/
|
||||
@ -1154,7 +1145,6 @@ export class InputMetadata {
|
||||
* everySecond() { console.log('second'); }
|
||||
* everyFiveSeconds() { console.log('five seconds'); }
|
||||
* }
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
* @stable
|
||||
*/
|
||||
@ -1193,8 +1183,6 @@ export class OutputMetadata {
|
||||
* class App {
|
||||
* prop;
|
||||
* }
|
||||
*
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
* @stable
|
||||
*/
|
||||
@ -1232,8 +1220,6 @@ export class HostBindingMetadata {
|
||||
* directives: [CountClicks]
|
||||
* })
|
||||
* class App {}
|
||||
*
|
||||
* bootstrap(App);
|
||||
* ```
|
||||
* @stable
|
||||
*/
|
||||
|
@ -81,8 +81,6 @@ export var LIFECYCLE_HOOKS_VALUES = [
|
||||
* export class App {
|
||||
* value = 0;
|
||||
* }
|
||||
*
|
||||
* bootstrap(App).catch(err => console.error(err));
|
||||
* ```
|
||||
* @stable
|
||||
*/
|
||||
@ -125,9 +123,7 @@ export abstract class OnChanges { abstract ngOnChanges(changes: SimpleChanges):
|
||||
* export class App {
|
||||
* hasChild = true;
|
||||
* }
|
||||
*
|
||||
* bootstrap(App).catch(err => console.error(err));
|
||||
* ```
|
||||
* ```
|
||||
* @stable
|
||||
*/
|
||||
export abstract class OnInit { abstract ngOnInit(): void; }
|
||||
@ -236,8 +232,6 @@ export abstract class DoCheck { abstract ngDoCheck(): void; }
|
||||
* export class App {
|
||||
* hasChild = true;
|
||||
* }
|
||||
*
|
||||
* bootstrap(App).catch(err => console.error(err));
|
||||
* ```
|
||||
*
|
||||
*
|
||||
@ -340,8 +334,6 @@ export abstract class OnDestroy { abstract ngOnDestroy(): void; }
|
||||
* })
|
||||
* export class App {
|
||||
* }
|
||||
*
|
||||
* bootstrap(App).catch(err => console.error(err));
|
||||
* ```
|
||||
* @stable
|
||||
*/
|
||||
@ -389,8 +381,6 @@ export abstract class AfterContentInit { abstract ngAfterContentInit(): void; }
|
||||
* export class App {
|
||||
* hasContent = true;
|
||||
* }
|
||||
*
|
||||
* bootstrap(App).catch(err => console.error(err));
|
||||
* ```
|
||||
* @stable
|
||||
*/
|
||||
@ -437,8 +427,6 @@ export abstract class AfterContentChecked { abstract ngAfterContentChecked(): vo
|
||||
* })
|
||||
* export class App {
|
||||
* }
|
||||
*
|
||||
* bootstrap(App).catch(err => console.error(err));
|
||||
* ```
|
||||
* @stable
|
||||
*/
|
||||
@ -488,8 +476,6 @@ export abstract class AfterViewInit { abstract ngAfterViewInit(): void; }
|
||||
* })
|
||||
* export class App {
|
||||
* }
|
||||
*
|
||||
* bootstrap(App).catch(err => console.error(err));
|
||||
* ```
|
||||
* @stable
|
||||
*/
|
||||
|
Reference in New Issue
Block a user