From 8e43a5b1487bfeede666c6071ed3d3cf085383a5 Mon Sep 17 00:00:00 2001 From: crisbeto Date: Wed, 31 Jan 2018 07:23:23 +0100 Subject: [PATCH] chore: fix lint warning Fixes a lint warning due to a PR that was opened after the HTML escaping rule was introduced. Side note: it seems like the rule catches things like `->` as HTML tags. --- src/lib/core/datetime/date-adapter.ts | 2 +- src/lib/sort/sort-header.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */