mirror of
https://github.com/electron/electron.git
synced 2026-01-07 22:54:25 -05:00
fix: webContent.fromId should be number instead of string (#48059)
This commit is contained in:
@@ -882,7 +882,7 @@ export function create (options = {}): Electron.WebContents {
|
||||
return new (WebContents as any)(options);
|
||||
}
|
||||
|
||||
export function fromId (id: string) {
|
||||
export function fromId (id: number) {
|
||||
return binding.fromId(id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user