chore: remove unused promisify code (#21114)
This commit is contained in:
parent
457b7bf24f
commit
af1e8a347e
5 changed files with 1 additions and 156 deletions
5
typings/internal-electron.d.ts
vendored
5
typings/internal-electron.d.ts
vendored
|
@ -90,11 +90,6 @@ declare namespace ElectronInternal {
|
|||
removeProperty<T, K extends (keyof T & string)>(object: T, propertyName: K): T;
|
||||
renameProperty<T, K extends (keyof T & string)>(object: T, oldName: string, newName: K): T;
|
||||
moveAPI(fn: Function, oldUsage: string, newUsage: string): Function;
|
||||
|
||||
promisify<T extends (...args: any[]) => any>(fn: T): T;
|
||||
|
||||
// convertPromiseValue: Temporarily disabled until it's used
|
||||
promisifyMultiArg<T extends (...args: any[]) => any>(fn: T, /*convertPromiseValue: (v: any) => any*/): T;
|
||||
}
|
||||
|
||||
interface DesktopCapturer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue