Files
test-repo/changelog_unreleased/api/12574.md
T

289 B

[BREAKING] Change public apis to asynchronous (#12574 by @fisker)

  • prettier.format() returns Promise<string>
  • prettier.formatWithCursor() returns Promise<{formatted: string, cursorOffset: number}>
  • prettier.check() returns Promise<boolean>

More changes are coming...