Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(contexts): change contexts & spaces to class
Browse files Browse the repository at this point in the history
This allows them to be used as DI tokens
  • Loading branch information
pmuir authored and joshuawilson committed Mar 8, 2017
1 parent 10d1c62 commit 896c3a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/contexts/contexts.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/app/spaces/spaces.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 896c3a3

Please sign in to comment.