Before
type User={id:number;name:string}
const user:User={id:1,name:'Ada'}Format TypeScript with OXC in the browser. Paste code, run the OXC formatter, and copy the result. It runs in your browser, and your input stays on this device.
Before
type User={id:number;name:string}
const user:User={id:1,name:'Ada'}After
type User = { id: number; name: string };
const user: User = { id: 1, name: 'Ada' };Workflow
Paste a snippet, run the action, review any highlighted issue, then copy the result back to your work.
Paste a snippet or full file into the editor.
Use Run TypeScript OXC Formatter from the action bar.
Fix syntax issues if processing stops.
Use Copy code when the result is ready.