import { Stream } from 'most';

export function buffer<T>(count: number): (stream: Stream<T>) => Stream<T[]>;
export default buffer;

import { Stream } from 'most';

export default function buffer<T>(count: number): (stream: Stream<T>) => Stream<T[]>;

Fix the export for the buffer
Fix the export for the buffer