8000 Suggestion: Add typescript types to package · Issue #191 · xmldom/xmldom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Suggestion: Add typescript types to package #191
Closed
@karfau

Description

@karfau

There are some issues with the typescript types provided by @types/xmldom, that are hard to resolve, since they rely on the DOM types provided by typescript:
DefinitelyTyped/DefinitelyTyped#49953

I think the easiest way to resolve that issue and maintain the types is to add doc comments to the code in lib and generate the types from it.

The main advantage is also that the types don't claim to support APIs that it actually doesn't support, which currently would lead to a runtime error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help-wantedExternal contributions welcometestingtypesAnything regarding Typescript

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0