Browse Source

docs(api.js): fix heading level in window api docs (#6157)

Fabian-Lars 2 years ago
parent
commit
f7ac2e9250
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tooling/api/src/window.ts

+ 2 - 2
tooling/api/src/window.ts

@@ -51,9 +51,9 @@
  * ```
  * It is recommended to allowlist only the APIs you use for optimal bundle size and security.
  *
- * # Window events
+ * ## Window events
  *
- * Events can be listened using `appWindow.listen`:
+ * Events can be listened to using `appWindow.listen`:
  * ```typescript
  * import { appWindow } from "@tauri-apps/api/window";
  * appWindow.listen("my-window-event", ({ event, payload }) => { });