Skip to content

storage.d.ts使用了HTMLInputElement导致依赖dom #539

Description

@GongT

leancloud-storage@3.6.4

虽然并不是大问题

lib必须加dom才能编译,但我这个是纯node项目

Activity

  1. leeyeh commented on Apr 9, 2018

    @leeyeh
    Contributor

    除了换成 any,你有什么更好的建议吗, Captcha#bind 方法确实是只有在浏览器环境下可以用。

  2. GongT commented on Apr 10, 2018

    @GongT
    ContributorAuthor

    终极解决办法是把各个功能拆成小包?顺便解决太大的问题。。

    (我去试试把.d.ts分成好2个能不能解决

  3. cheese-git commented on Nov 28, 2018

    @cheese-git

    同样遇到这个问题…… 希望优化一下类型定义这块,现在 ts 用的人越来越多了

  4. self-assigned this
    on Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions