### Environment Node: v18.15.0 magicast: v0.2.3 ### Reproduction ```ts import { parseModule } from 'magicast' const mod = parseModule(`import { defineConfig } from "foo" export default defineConfig({})`) mod.imports.defineConfig.from = 'bar' console.log(mod.generate().code) ``` It outputs: ```ts import { defineConfig } from "bar"; export default defineConfig({}) ``` The semicolon should not be appended to the import declaration. ### Describe the bug When modify or add imports, the format is not kept. ### Additional context _No response_ ### Logs _No response_