fix(core): Observable event types consistency (#10181)

This commit is contained in:
Jamie Birch
2023-02-01 00:42:09 +09:00
committed by GitHub
parent a7f1305781
commit 485fb61947
39 changed files with 379 additions and 434 deletions

View File

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