Skip to content

Commit f16c492

Browse files
committed
Merge pull request DefinitelyTyped#8608 from topsteam/github-electron-loadurl-extraHeaders
github-electron loadURL updated
2 parents 14037e8 + beeee89 commit f16c492

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

github-electron/github-electron.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ declare namespace Electron {
415415
loadURL(url: string, options?: {
416416
httpReferrer?: string;
417417
userAgent?: string;
418+
extraHeaders?: string;
418419
}): void;
419420
/**
420421
* Same with webContents.reload.
@@ -566,6 +567,7 @@ declare namespace Electron {
566567
loadURL(url: string, options?: {
567568
httpReferrer?: string;
568569
userAgent?: string;
570+
extraHeaders?: string;
569571
}): void;
570572
/**
571573
* @returns The URL of current web page.

0 commit comments

Comments
 (0)