test(ci): add exporter heading levels and a11y typography smoke; update MAIN_PLAN
CI / test (pull_request) Has been cancelled

This commit is contained in:
2025-11-14 16:40:45 +09:00
parent aaa624a046
commit cd6a6ea069
93 changed files with 8543 additions and 13 deletions
+15
View File
@@ -0,0 +1,15 @@
export function move<T>(arr: T[], from: number, to: number): T[] {
if (
from === to ||
from < 0 ||
to < 0 ||
from >= arr.length ||
to >= arr.length
) {
return arr
}
const next = arr.slice()
const [sp] = next.splice(from, 1)
next.splice(to, 0, sp)
return next
}