chore: remove unused deprecate.fnToProperty() (#24069)

This commit is contained in:
Milan Burda 2020-06-16 03:59:04 +02:00 committed by GitHub
parent 9c7d73c6d6
commit 673169a7ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 42 deletions

View file

@ -102,7 +102,6 @@ declare namespace ElectronInternal {
removeFunction(fn: Function, removedName: string): Function;
renameFunction(fn: Function, newName: string | Function): Function;
event(emitter: NodeJS.EventEmitter, oldName: string, newName: string): void;
fnToProperty(module: any, prop: string, getter: string, setter?: string): void;
removeProperty<T, K extends (keyof T & string)>(object: T, propertyName: K, onlyForValues?: any[]): T;
renameProperty<T, K extends (keyof T & string)>(object: T, oldName: string, newName: K): T;
moveAPI(fn: Function, oldUsage: string, newUsage: string): Function;