Remove command-only check from gen_dts

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, buildscripts/idl/gen_dts.py will only generate Typescript declarations for IDL files that have commands in them. This is because the original scope of this effort was for commands specifically. However, the struct and enum .d.ts generation is very useful for adding accurate and helpful type hints to Javascript files. So, we should remove this check so that all structs and enums defined in IDLs will be converted to .d.ts files.

            Assignee:
            Joseph Obaraye
            Reporter:
            Joseph Obaraye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: