Our state of the art Gantt chart


Post by tulioassis »

Hey, I can see that the type for credentials inside fetchOptions is object but the examples shows as string. Should we change it on the code to keep consistency?

From client\node_modules\@bryntum\gantt\gantt.d.ts

    type FetchOptions = {
        method?: 'GET'|'POST'|'PUT'|'PATCH'|'DELETE'
        queryParams?: object
        headers?: object
        body?: object
        mode?: object
        credentials?: object
        parseJson?: object
    }

See credentials as string:
https://www.bryntum.com/products/gantt/docs/api/Core/data/AjaxStore#config-fetchOptions


Post by marcio »

Hey tulioassis,

Thanks for the report, I created a ticket to update that type/documentation https://github.com/bryntum/support/issues/6092

Best regards,
Márcio


Post Reply