From 6bab54284ba5fb0b89ef56807beab3b52a09146b Mon Sep 17 00:00:00 2001 From: Maarten Tibau Date: Mon, 17 Oct 2016 09:34:43 +0200 Subject: [PATCH] Global import of rxjs lib Avoid the global import of the whole rxjs lib, when we only need the Observable and keep it consistent throughout the whole tutorial --- public/docs/_examples/toh-6/ts/app/hero-search.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/_examples/toh-6/ts/app/hero-search.service.ts b/public/docs/_examples/toh-6/ts/app/hero-search.service.ts index ae2e47670a..d2832baf65 100644 --- a/public/docs/_examples/toh-6/ts/app/hero-search.service.ts +++ b/public/docs/_examples/toh-6/ts/app/hero-search.service.ts @@ -1,7 +1,7 @@ // #docregion import { Injectable } from '@angular/core'; import { Http, Response } from '@angular/http'; -import { Observable } from 'rxjs'; +import { Observable } from 'rxjs/Observable'; import { Hero } from './hero';