From a83f9c06d701f1126eaf8da605e27125c90edb87 Mon Sep 17 00:00:00 2001 From: David Sanders Date: Fri, 21 Jul 2023 14:33:39 -0700 Subject: [PATCH] docs: update binding linking example in creating API doc (#39177) --- docs/development/creating-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/development/creating-api.md b/docs/development/creating-api.md index 97a523bce05f..4e219cf3561e 100644 --- a/docs/development/creating-api.md +++ b/docs/development/creating-api.md @@ -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; } ```