-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(core/properties): Fix typings for nativeValueChange #5791
Conversation
@@ -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(target:T, value:U): void; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First argument is generally referred as owner
across the codebase:
public readonly nativeValueChange: (owner: T, value: U) => void; |
Can you update this?
Hey @speigg |
Changed parameter name of nativeValueChange from “target” to “owner” Fixed white space to match coding style
Fixed white space
I made the changes directly on Github.com, as I don’t have the {N} repository downloded and setup for development. Anyway, the CI seems to be happy about the whitespace now. |
test |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
No description provided.