Skip to content

🎥 Make videos programmatically with React

remove unshort to helpers

Jonny Burger4296b478d01b
diff --git a/packages/paths/src/unshort.ts b/packages/paths/src/helpers/unshort.ts
similarity index 96%
rename from packages/paths/src/unshort.ts
rename to packages/paths/src/helpers/unshort.ts
index d8a39ff7b9..3758b02fee 100644
--- a/packages/paths/src/unshort.ts
+++ b/packages/paths/src/helpers/unshort.ts
@@ -1,5 +1,6 @@
-import type {Instruction} from './helpers/parse';
+import type {Instruction} from './parse';
+// Requires that the path is already normalized
export const unshort = function (segments: Instruction[]): Instruction[] {
let prevControlX = 0;
let prevControlY = 0;