docs: update binding linking example in creating API doc (#39177)

This commit is contained in:
David Sanders 2023-07-21 14:33:39 -07:00 committed by GitHub
parent b66449add5
commit a83f9c06d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,7 +131,7 @@ In the [`typings/internal-ambient.d.ts`](https://github.com/electron/electron/bl
```ts title='typings/internal-ambient.d.ts' ```ts title='typings/internal-ambient.d.ts'
interface Process { interface Process {
_linkedBinding(name: 'electron_browser_{api_name}', Electron.ApiName); _linkedBinding(name: 'electron_browser_{api_name}'): Electron.ApiName;
} }
``` ```