remove barrel for core/structs

This commit is contained in:
jacob
2024-04-30 20:23:17 -05:00
parent 5b33a9d1bb
commit d6eedb1b4d
16 changed files with 32 additions and 25 deletions

View File

@@ -26,7 +26,7 @@ import type { VoidResult } from './_internal';
* @param item
*/
export function filterMapTo<V>(item: () => V): OperatorFunction<boolean, V> {
return concatMap(shouldKeep => (shouldKeep ? of(item()) : EMPTY));
return concatMap(keep => keep ? of(item()) : EMPTY);
}
interface PluginExecutable {