FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(core/properties): Fix typings for nativeValueChange (#5791) · NativeScript/NativeScript@357c8ec · GitHub

Commit 357c8ec

Browse files
authored andcommitted
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
1 parent 6cfdc20 commit 357c8ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tns-core-modules/ui/core/properties/properties.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class Property<T extends ViewBase, U> {
5252
public readonly setNative: symbol;
5353
public readonly defaultValue: U;
5454
public register(cls: { prototype: T }): void;
55-
public nativeValueChange(T, U): void;
55+
public nativeValueChange(owner: T, value: U): void;
5656
public isSet(instance: T): boolean;
5757
}
5858
export interface Property<T extends ViewBase, U> extends TypedPropertyDescriptor<U> {

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL