mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 11:02:11 +08:00
github-electron loadURL options extraHeaders
This commit is contained in:
2
github-electron/github-electron.d.ts
vendored
2
github-electron/github-electron.d.ts
vendored
@@ -415,6 +415,7 @@ declare namespace Electron {
|
||||
loadURL(url: string, options?: {
|
||||
httpReferrer?: string;
|
||||
userAgent?: string;
|
||||
extraHeaders?: string;
|
||||
}): void;
|
||||
/**
|
||||
* Same with webContents.reload.
|
||||
@@ -558,6 +559,7 @@ declare namespace Electron {
|
||||
loadURL(url: string, options?: {
|
||||
httpReferrer?: string;
|
||||
userAgent?: string;
|
||||
extraHeaders?: string;
|
||||
}): void;
|
||||
/**
|
||||
* @returns The URL of current web page.
|
||||
|
||||
Reference in New Issue
Block a user