chore: remove unused promisify code (#21114)

This commit is contained in:
Shelley Vohr 2019-11-14 05:50:50 +00:00 committed by Cheng Zhao
parent 457b7bf24f
commit af1e8a347e
5 changed files with 1 additions and 156 deletions

View file

@ -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 {