From 1e6d5ca42fc361bed81648292c0957773e05ab3d Mon Sep 17 00:00:00 2001 From: Isaiah Becker-Mayer Date: Sun, 21 Aug 2022 07:42:06 -0400 Subject: [PATCH] exports types instead of objects --- src/observable/map/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/observable/map/index.ts b/src/observable/map/index.ts index 1f4afc3e..a78446c4 100644 --- a/src/observable/map/index.ts +++ b/src/observable/map/index.ts @@ -7,7 +7,8 @@ // // See https://medium.com/visual-development/how-to-fix-nasty-circular-dependency-issues-once-and-for-all-in-javascript-typescript-a04c987cf0de // for more on why this discipline is necessary. -export {BaseObservableMap, Mapper, Updater, Comparator, Filter} from './BaseObservableMap'; +export {BaseObservableMap} from './BaseObservableMap'; +export type {Mapper, Updater, Comparator, Filter} from './BaseObservableMap'; export {ApplyMap} from './ApplyMap'; export {FilteredMap} from './FilteredMap'; export {JoinedMap} from './JoinedMap';