Tady159

Avatar
  • 活动总数 12
  • 最后的活动
  • 成员加入日期
  • 关注 0 名用户
  • 关注者数 0 名用户
  • 投票数 1
  • 订阅数 2
  • 创建于

    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 个关注者
    • 2 条评论
    • 0 票
  • 创建于

    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 个关注者
    • 11 条评论
    • 0 票