"use strict";
/**
 * Shared types for true streaming compression.
 *
 * Kept in a dedicated base module so Node.js and browser implementations
 * don't depend on each other.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.asError = asError;
function asError(err) {
    return err instanceof Error ? err : new Error(String(err));
}
