Skip to content

Commit 2ccca29

Browse files
committed
Add "do not use" to identifiers and selectors
1 parent cabd670 commit 2ccca29

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/cdk/portal/portal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export type PortalHost = PortalOutlet;
186186
// In Angular 9.x, `@Directive()` without any selector is legal (and `BasePortalModule` is not
187187
// necessary either).
188188
// TODO(alxhub): convert to a selectorless Directive when the CDK upgrades to Angular 9.
189-
selector: 'abstract-base-portal-outlet',
189+
selector: 'do-not-use-abstract-base-portal-outlet',
190190
})
191191
export abstract class BasePortalOutlet implements PortalOutlet {
192192
/** The portal currently attached to the host. */
@@ -273,7 +273,7 @@ export abstract class BasePortalOutlet implements PortalOutlet {
273273
@NgModule({
274274
declarations: [BasePortalOutlet as any],
275275
})
276-
export class BasePortalOutletModule {
276+
export class DoNotUseBasePortalOutletModule {
277277
}
278278

279279
/**

src/material/form-field/form-field-control.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {NgControl} from '@angular/forms';
1717
// In Angular 9.x, `@Directive()` without any selector is legal (and `MatFormFieldControlModule`
1818
// is not necessary either).
1919
// TODO(alxhub): convert to a selectorless Directive when Material upgrades to Angular 9.
20-
selector: 'abstract-mat-form-field-control',
20+
selector: 'do-not-use-abstract-mat-form-field-control',
2121
})
2222
export abstract class MatFormFieldControl<T> {
2323
/** The value of the control. */
@@ -80,5 +80,5 @@ export abstract class MatFormFieldControl<T> {
8080
@NgModule({
8181
declarations: [MatFormFieldControl as any],
8282
})
83-
export class MatFormFieldControlModule {
83+
export class DoNotUseMatFormFieldControlModule {
8484
}

0 commit comments

Comments
 (0)