Skip to content

Commit 0a3a27e

Browse files
authored
Merge pull request #3816 from Parsely/dependabot/npm_and_yarn/wordpress/api-fetch-7.35.0
2 parents 0497cca + 5e0a982 commit 0a3a27e

File tree

3 files changed

+8
-159
lines changed

3 files changed

+8
-159
lines changed

package-lock.json

Lines changed: 6 additions & 157 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@types/wordpress__edit-post": "^8.4.2",
5555
"@types/wordpress__wordcount": "^2.4.5",
5656
"@typescript-eslint/eslint-plugin": "^6.21.0",
57-
"@wordpress/api-fetch": "7.29",
57+
"@wordpress/api-fetch": "7.35",
5858
"@wordpress/babel-preset-default": "^7.42.0",
5959
"@wordpress/block-editor": "^15.6.0",
6060
"@wordpress/blocks": "^15.8.0",

src/content-helper/common/providers/base-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export abstract class BaseProvider {
143143
*
144144
* @return {Promise<ContentHelperAPIResponse<any>>} The fetched data.
145145
*/
146-
protected async fetch<T>( options: APIFetchOptions, id?: string ): Promise<T> {
146+
protected async fetch<T>( options: APIFetchOptions<true>, id?: string ): Promise<T> {
147147
const { abortController, abortId } = this.getOrCreateController( id );
148148
options.signal = abortController.signal;
149149

0 commit comments

Comments
 (0)