diff --git a/src/lib/core/datetime/date-adapter.ts b/src/lib/core/datetime/date-adapter.ts index b72a98dd15c8..eb2dc86f8437 100644 --- a/src/lib/core/datetime/date-adapter.ts +++ b/src/lib/core/datetime/date-adapter.ts @@ -24,7 +24,7 @@ export abstract class DateAdapter { /** A stream that emits when the locale changes. */ get localeChanges(): Observable { return this._localeChanges; } - protected _localeChanges= new Subject(); + protected _localeChanges = new Subject(); /** * Gets the year component of the given date. diff --git a/src/lib/sort/sort-header.ts b/src/lib/sort/sort-header.ts index f77766f179e0..24dfd51410b4 100644 --- a/src/lib/sort/sort-header.ts +++ b/src/lib/sort/sort-header.ts @@ -41,7 +41,7 @@ export const _MatSortHeaderMixinBase = mixinDisabled(MatSortHeaderBase); export type ArrowViewState = SortDirection | 'hint' | 'active'; /** - * States describing the arrow's animated position (animating fromState -> toState). + * States describing the arrow's animated position (animating fromState to toState). * If the fromState is not defined, there will be no animated transition to the toState. * @docs-private */