From 896c3a3481359e16ee70f3597303043b699d6734 Mon Sep 17 00:00:00 2001 From: Pete Muir Date: Wed, 8 Mar 2017 11:32:40 -0500 Subject: [PATCH] fix(contexts): change contexts & spaces to class This allows them to be used as DI tokens --- src/app/contexts/contexts.ts | 2 +- src/app/spaces/spaces.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/contexts/contexts.ts b/src/app/contexts/contexts.ts index 163e535..e86b759 100644 --- a/src/app/contexts/contexts.ts +++ b/src/app/contexts/contexts.ts @@ -1,6 +1,6 @@ import { Context } from './context'; import { Observable } from 'rxjs'; -export interface Contexts { +export class Contexts { /** * An observable which pushes changes to the array of recent contexts. * It is backed by a multicasted replay subject so you will always received diff --git a/src/app/spaces/spaces.ts b/src/app/spaces/spaces.ts index 6e1988a..a7ebd53 100644 --- a/src/app/spaces/spaces.ts +++ b/src/app/spaces/spaces.ts @@ -1,6 +1,6 @@ import { Space } from './../models/space'; import { Observable } from 'rxjs'; -export interface Spaces { +export class Spaces { /** * An observable which pushes changes to the current space.