Explorar o código

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

Fabian-Lars %!s(int64=2) %!d(string=hai) anos
pai
achega
f7ac2e9250
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 }) => { });