mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix: downstream types and arg-passing
This commit is contained in:
@@ -20,6 +20,6 @@ export class Placeholder extends View {
|
||||
}
|
||||
}
|
||||
export interface Placeholder {
|
||||
on(eventNames: string, callback: (args: EventData) => void);
|
||||
on(event: 'creatingView', callback: (args: CreateViewEventData) => void);
|
||||
on(eventNames: string, callback: (args: EventData) => void, thisArg?: any, options?: AddEventListenerOptions | boolean): void;
|
||||
on(event: 'creatingView', callback: (args: CreateViewEventData) => void, thisArg?: any, options?: AddEventListenerOptions | boolean): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user