fix: webContent.fromId should be number instead of string (#48059)
This commit is contained in:
parent
e12ab6708e
commit
ceb6d28fd3
1 changed files with 1 additions and 1 deletions
|
@ -882,7 +882,7 @@ export function create (options = {}): Electron.WebContents {
|
||||||
return new (WebContents as any)(options);
|
return new (WebContents as any)(options);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function fromId (id: string) {
|
export function fromId (id: number) {
|
||||||
return binding.fromId(id);
|
return binding.fromId(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue