Skip to content

Feature Request: TypeScript type definitions #69

@bb

Description

@bb

Hi there,
it would be great if fast-xml-parser had typescript support.

Would you be willing to include types directly here? The advantage would be that users wouldn't need manually install types.

Another option would be externally, e.g. similar like xml2js: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/xml2js.
Users would then need to install the types package manually as described here: https://www.npmjs.com/package/@types/xml2js
Another disadvantage is that the types might become out of sync with the code more easily.

What way would you prefer, if any?

Metadata

Metadata

Assignees

No one assigned

    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