update types ready for new selections

This commit is contained in:
Kurt Hutten Irev-Dev
2024-09-09 06:06:13 +10:00
parent 6595fca000
commit 70694d9dd3
31 changed files with 236 additions and 164 deletions

View File

@ -11,7 +11,7 @@ import {
transformAstSketchLines,
} from './sketchcombos'
import { getSketchSegmentFromSourceRange } from './sketchConstraints'
import { Selection } from 'lib/selections'
import { Selection__old } from 'lib/selections'
import { enginelessExecutor } from '../../lib/testHelpers'
import { err } from 'lib/trap'
@ -33,7 +33,7 @@ async function testingSwapSketchFnCall({
originalRange: [number, number]
}> {
const startIndex = inputCode.indexOf(callToSwap)
const range: Selection = {
const range: Selection__old = {
type: 'default',
range: [startIndex, startIndex + callToSwap.length],
}