File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export class NextDrupal extends NextDrupalBase {
8989 async createResource < T extends JsonApiResource > (
9090 type : string ,
9191 body : JsonApiCreateResourceBody ,
92- options ?: JsonApiOptions
92+ options ?: JsonApiOptions & JsonApiWithNextFetchOptions
9393 ) : Promise < T > {
9494 options = {
9595 deserialize : true ,
@@ -130,7 +130,7 @@ export class NextDrupal extends NextDrupalBase {
130130 async createFileResource < T = DrupalFile > (
131131 type : string ,
132132 body : JsonApiCreateFileResourceBody ,
133- options ?: JsonApiOptions
133+ options ?: JsonApiOptions & JsonApiWithNextFetchOptions
134134 ) : Promise < T > {
135135 options = {
136136 deserialize : true ,
@@ -176,7 +176,7 @@ export class NextDrupal extends NextDrupalBase {
176176 type : string ,
177177 uuid : string ,
178178 body : JsonApiUpdateResourceBody ,
179- options ?: JsonApiOptions
179+ options ?: JsonApiOptions & JsonApiWithNextFetchOptions
180180 ) : Promise < T > {
181181 options = {
182182 deserialize : true ,
@@ -219,7 +219,7 @@ export class NextDrupal extends NextDrupalBase {
219219 async deleteResource (
220220 type : string ,
221221 uuid : string ,
222- options ?: JsonApiOptions
222+ options ?: JsonApiOptions & JsonApiWithNextFetchOptions
223223 ) : Promise < boolean > {
224224 options = {
225225 withAuth : true ,
You can’t perform that action at this time.
0 commit comments