IObservableArray annotation #2581
Replies: 2 comments 7 replies
-
By better, you mean what exactly? Is this not working for you? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Public modifier declares it as class prop implicitly. I'd declare it as
IObservableArray<Item> instead explicitly and cast the initial assignment
Op zo 1 nov. 2020 20:53 schreef Daniel K. <notifications@github.com>:
… Well, you don't have items defined as a class property, in theory, you
can declare the type on it instead of in each method. Inference won't
probably work here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2581 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN4NBCOVV2PE55YLXN6DQLSNXDFZANCNFSM4TGWPYHQ>
.
|
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
edshav
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a better way to annotate
IObservableArray
to use its unique methods likeremove
?Beta Was this translation helpful? Give feedback.
All reactions