import { Path as e } from "../../d3-path/src/path.js";
//#region ../../node_modules/d3-shape/src/path.js
function t(t) {
	let n = 3;
	return t.digits = function(e) {
		if (!arguments.length) return n;
		if (e == null) n = null;
		else {
			let t = Math.floor(e);
			if (!(t >= 0)) throw RangeError(`invalid digits: ${e}`);
			n = t;
		}
		return t;
	}, () => new e(n);
}
//#endregion
export { t as withPath };
