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

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'
interface Process {
_linkedBinding(name: 'electron_browser_{api_name}', Electron.ApiName);
_linkedBinding(name: 'electron_browser_{api_name}'): Electron.ApiName;
}
```