Skip to content

Commit f76c9af

Browse files
arogetandrewseguin
authored andcommitted
Fix Typo (overwritte) (#16861)
- stepper-button - menu-item - drawer ViewEngine they're overwritte. ==> ViewEngine they're overwritten. (cherry picked from commit 59cc66f)
1 parent e92a861 commit f76c9af

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/cdk/stepper/stepper-button.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class CdkStepperNext {
2525

2626
// We have to use a `HostListener` here in order to support both Ivy and ViewEngine.
2727
// In Ivy the `host` bindings will be merged when this class is extended, whereas in
28-
// ViewEngine they're overwritte.
28+
// ViewEngine they're overwritten.
2929
// TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.
3030
// tslint:disable-next-line:no-host-decorator-in-concrete
3131
@HostListener('click')
@@ -49,7 +49,7 @@ export class CdkStepperPrevious {
4949

5050
// We have to use a `HostListener` here in order to support both Ivy and ViewEngine.
5151
// In Ivy the `host` bindings will be merged when this class is extended, whereas in
52-
// ViewEngine they're overwritte.
52+
// ViewEngine they're overwritten.
5353
// TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.
5454
// tslint:disable-next-line:no-host-decorator-in-concrete
5555
@HostListener('click')

src/material/menu/menu-item.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export class MatMenuItem extends _MatMenuItemMixinBase
130130
/** Prevents the default element actions if it is disabled. */
131131
// We have to use a `HostListener` here in order to support both Ivy and ViewEngine.
132132
// In Ivy the `host` bindings will be merged when this class is extended, whereas in
133-
// ViewEngine they're overwritte.
133+
// ViewEngine they're overwritten.
134134
// TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.
135135
// tslint:disable-next-line:no-host-decorator-in-concrete
136136
@HostListener('click', ['$event'])
@@ -144,7 +144,7 @@ export class MatMenuItem extends _MatMenuItemMixinBase
144144
/** Emits to the hover stream. */
145145
// We have to use a `HostListener` here in order to support both Ivy and ViewEngine.
146146
// In Ivy the `host` bindings will be merged when this class is extended, whereas in
147-
// ViewEngine they're overwritte.
147+
// ViewEngine they're overwritten.
148148
// TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.
149149
// tslint:disable-next-line:no-host-decorator-in-concrete
150150
@HostListener('mouseenter')

src/material/sidenav/drawer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ export class MatDrawer implements AfterContentInit, AfterContentChecked, OnDestr
421421

422422
// We have to use a `HostListener` here in order to support both Ivy and ViewEngine.
423423
// In Ivy the `host` bindings will be merged when this class is extended, whereas in
424-
// ViewEngine they're overwritte.
424+
// ViewEngine they're overwritten.
425425
// TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.
426426
// tslint:disable-next-line:no-host-decorator-in-concrete
427427
@HostListener('@transform.start', ['$event'])
@@ -431,7 +431,7 @@ export class MatDrawer implements AfterContentInit, AfterContentChecked, OnDestr
431431

432432
// We have to use a `HostListener` here in order to support both Ivy and ViewEngine.
433433
// In Ivy the `host` bindings will be merged when this class is extended, whereas in
434-
// ViewEngine they're overwritte.
434+
// ViewEngine they're overwritten.
435435
// TODO(crisbeto): we move this back into `host` once Ivy is turned on by default.
436436
// tslint:disable-next-line:no-host-decorator-in-concrete
437437
@HostListener('@transform.done', ['$event'])

0 commit comments

Comments
 (0)