Skip to content

Commit

Permalink
fix(core/properties): Fix typings for nativeValueChange (#5791)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
speigg authored and Alexander Vakrilov committed Jun 19, 2018
1 parent 6cfdc20 commit 357c8ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tns-core-modules/ui/core/properties/properties.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down

0 comments on commit 357c8ec

Please sign in to comment.