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';