Function ComfyJSONToTypescript

  • Generate the ts file mapping all nodes from ComfyUI into proper typescript

    Parameters

    • client: ComfyClient

      the active connection from which to derive the interface

    • filename: string

      the target filename

    • Optionalpkg: string

      the name of the package for this library in the user application. If undefined the one from the original package.json is assumed

    Returns Promise<void>