mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(core): Observable event types consistency (#10181)
This commit is contained in:
@@ -1500,7 +1500,7 @@ export class Observable {
|
||||
|
||||
notifyPropertyChange(propertyName: string, value: any, oldValue?: any): void;
|
||||
|
||||
off(eventNames: string, callback?: any, thisArg?: any);
|
||||
off(eventNames: string, callback?: (data: EventData) => void, thisArg?: any);
|
||||
|
||||
on(eventNames: string, callback: (data: EventData) => void, thisArg?: any);
|
||||
|
||||
@@ -1510,7 +1510,7 @@ export class Observable {
|
||||
|
||||
public static propertyChangeEvent: string;
|
||||
|
||||
removeEventListener(eventNames: string, callback?: any, thisArg?: any);
|
||||
removeEventListener(eventNames: string, callback?: (data: EventData) => void, thisArg?: any);
|
||||
|
||||
set(name: string, value: any): void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user