From 810c4d0572bcf9e5c6f1f9ccb9d3194d8391752a Mon Sep 17 00:00:00 2001 From: Ben Lesh Date: Thu, 11 Jan 2018 21:27:43 -0800 Subject: [PATCH] feat(reorganize): export `noop` and `identity` from `rxjs` --- spec/index-spec.ts | 2 ++ src/index.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/spec/index-spec.ts b/spec/index-spec.ts index ed335e1d6c..b3f058b038 100644 --- a/spec/index-spec.ts +++ b/spec/index-spec.ts @@ -29,5 +29,7 @@ describe('index', () => { it('should export the pipe utility', () => { expect(index.pipe).to.exist; + expect(index.noop).to.exist; + expect(index.identity).to.exist; }); }); diff --git a/src/index.ts b/src/index.ts index 4d7e3f81bd..5d770537ab 100644 --- a/src/index.ts +++ b/src/index.ts @@ -20,6 +20,8 @@ export { Notification } from './internal/Notification'; /* Utils */ export { pipe } from './util/pipe'; +export { noop } from './util/noop'; +export { identity } from './util/identity'; /* Types */ export * from './internal/types';