diff --git a/editor/src/components/canvas/commands/utils/property-utils.ts b/editor/src/components/canvas/commands/utils/property-utils.ts index cf615f93fec6..ca30cb38a8e9 100644 --- a/editor/src/components/canvas/commands/utils/property-utils.ts +++ b/editor/src/components/canvas/commands/utils/property-utils.ts @@ -6,16 +6,11 @@ import type { EditorState, EditorStatePatch } from '../../../editor/store/editor import { modifyUnderlyingElementForOpenFile } from '../../../editor/store/editor-state' import { patchParseSuccessAtElementPath } from '../patch-utils' -export interface EditorStateWithPatch { - editorStateWithChanges: EditorState - editorStatePatch: EditorStatePatch -} - export function applyValuesAtPath( editorState: EditorState, target: ElementPath, jsxValuesAndPathsToSet: ValueAtPath[], -): EditorStateWithPatch { +): { editorStateWithChanges: EditorState; editorStatePatch: EditorStatePatch } { const workingEditorState = modifyUnderlyingElementForOpenFile( target, editorState, @@ -56,7 +51,7 @@ export function deleteValuesAtPath( editorState: EditorState, target: ElementPath, properties: Array, -): EditorStateWithPatch { +): { editorStateWithChanges: EditorState; editorStatePatch: EditorStatePatch } { const workingEditorState = modifyUnderlyingElementForOpenFile( target, editorState,