Tady159

Avatar
  • Total activity 12
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 1
  • Subscriptions 2
  • Created

    Javascript Array incompatible with ArrayLike

    Hello,I'm trying to write a function that works with any type that can be indexed with a numeric key and has a length property. I know that Typescript defines an interface ArrayLike, which states p...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    Javascript function parameter annotation

    Hello, I am struggling to correctly annotate a function that should accept an HTMLElement or any subtype of it.   For instance, if I define the function: /**@param {HTMLElement} target*/function fo...
    • 2 followers
    • 11 comments
    • 0 votes