From 3e57b4fd030457a94b334e993e6842d5225e967c Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Fri, 12 May 2017 15:09:23 +0200 Subject: [PATCH] fix(focus-origin): missing rxjs of operator Recently in SHA f27df86 the `Observable.of` operator has been introduced. This operator hasn't been imported explicitly. The build doesn't fail if the whole library is built together because other files import the operator. But when compiling the `core/` package on its own it will start failing. --- src/lib/core/style/focus-origin-monitor.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/core/style/focus-origin-monitor.ts b/src/lib/core/style/focus-origin-monitor.ts index e76d90269626..eca5ebb5a187 100644 --- a/src/lib/core/style/focus-origin-monitor.ts +++ b/src/lib/core/style/focus-origin-monitor.ts @@ -14,6 +14,8 @@ import {Observable} from 'rxjs/Observable'; import {Subject} from 'rxjs/Subject'; import {Platform} from '../platform/platform'; +import 'rxjs/add/observable/of'; + // This is the value used by AngularJS Material. Through trial and error (on iPhone 6S) they found // that a value of around 650ms seems appropriate.