score:1

Accepted answer
export class AuthResource extends Resource {
    static getFetchInit = (init: RequestInit): RequestInit => ({
        ...init,
        credentials: 'same-origin'
    });
    pk(parent?: any, key?: string | undefined): string | undefined {
        return;
    }
}

Related Query

More Query from same tag