Skip to content

Commit

Permalink
fix(core): temporary workaround for microsoft/TypeScript#25769
Browse files Browse the repository at this point in the history
  • Loading branch information
TinyMan committed Aug 20, 2018
1 parent 47896b7 commit 05b73f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"lint": "tslint --project tsconfig.json **/*.ts --exclude node_modules/**/*",
"watch:extension": "lerna run start --scope @rxjs-inspector/extension --stream",
"build:extension": "lerna run build --scope @rxjs-inspector/extension",
"build:core": "lerna run build --scope @rxjs-inspector/core",
"build:devtools": "lerna run build --scope @rxjs-inspector/devtools",
"build:panel": "lerna run build --scope @rxjs-inspector/panel --include-filtered-dependencies",
"bw:panel": "ng build panel --configuration watch",
"watch:panel": "ng serve panel",
Expand Down
6 changes: 4 additions & 2 deletions packages/core/src/patch/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { Observable } from 'rxjs';
import { Observable, ConnectableObservable } from 'rxjs';

import { lift } from './lift';
import { patch, Notif, NotificationKind } from './subscribe';

export { Notif, NotificationKind };

export function setup() {
export function setup(): {
notifications$: ConnectableObservable<Notif>;
} {
lift(Observable.prototype, {});
return {
notifications$: patch(Observable.prototype),
Expand Down

0 comments on commit 05b73f6

Please sign in to comment.