mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
fix(core/properties): Fix typings for nativeValueChange (#5791)
* Fix typings for nativeValueChange * Update properties.d.ts Changed parameter name of nativeValueChange from “target” to “owner” Fixed white space to match coding style * Update properties.d.ts Fixed white space
This commit is contained in:

committed by
Alexander Vakrilov

parent
6cfdc206d9
commit
357c8ecf15
@ -52,7 +52,7 @@ export class Property<T extends ViewBase, U> {
|
||||
public readonly setNative: symbol;
|
||||
public readonly defaultValue: U;
|
||||
public register(cls: { prototype: T }): void;
|
||||
public nativeValueChange(T, U): void;
|
||||
public nativeValueChange(owner: T, value: U): void;
|
||||
public isSet(instance: T): boolean;
|
||||
}
|
||||
export interface Property<T extends ViewBase, U> extends TypedPropertyDescriptor<U> {
|
||||
|
Reference in New Issue
Block a user