mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-27 06:22:55 +08:00
Replace protocol and protocolName with protocols
The CLI accepts the former, while the programatic interface accepts the latter.
93523ba8db/common.js (L44-L51)
This commit is contained in:
15
types/electron-packager/index.d.ts
vendored
15
types/electron-packager/index.d.ts
vendored
@@ -185,15 +185,12 @@ declare namespace electronPackager {
|
||||
* If present, signs OS X target apps when the host platform is OS X and XCode is installed.
|
||||
*/
|
||||
osxSign?: boolean | ElectronOsXSignOptions;
|
||||
/**
|
||||
* The URL protocol scheme(s) to associate the app with
|
||||
*/
|
||||
protocol?: string[];
|
||||
/**
|
||||
* The descriptive name(s) of the URL protocol scheme(s) specified via the protocol option.
|
||||
* Maps to the CFBundleURLName metadata property.
|
||||
*/
|
||||
protocolName?: string[];
|
||||
|
||||
/** The URL protocol schemes the app supports. */
|
||||
protocols: Array<{
|
||||
name: string
|
||||
schemes: string[]
|
||||
}>;
|
||||
|
||||
/**
|
||||
* Windows targets only
|
||||
|
||||
Reference in New Issue
Block a user