diff --git a/wordpress__api-fetch/index.d.ts b/wordpress__api-fetch/index.d.ts index 5689397..1e9c7ef 100644 --- a/wordpress__api-fetch/index.d.ts +++ b/wordpress__api-fetch/index.d.ts @@ -4,7 +4,7 @@ declare module '@wordpress/api-fetch' { export type Middleware = ( options: FetchOptions, next: Middleware ) => D; export interface NonceMiddleware { - ( options, next ): Middleware<{ headers: object }>; + ( options: object, next: any ): Middleware<{ headers: object }>; nonce: string; } diff --git a/wordpress__data/index.d.ts b/wordpress__data/index.d.ts index 55f5466..6ad42ce 100644 --- a/wordpress__data/index.d.ts +++ b/wordpress__data/index.d.ts @@ -521,7 +521,7 @@ not yet been saved. // @todo properly type the rest of these as needed. areInnerBlocksControlled: () => any; canInsertBlockType: () => any; - canInsertBlocks: () => any; N + canInsertBlocks: () => any; didAutomaticChange: () => any; getAdjacentBlockClientId: () => any; getBlockHierarchyRootClientId: () => any; diff --git a/wordpress__rich-text/index.d.ts b/wordpress__rich-text/index.d.ts index 01a2130..d3d182f 100644 --- a/wordpress__rich-text/index.d.ts +++ b/wordpress__rich-text/index.d.ts @@ -58,7 +58,7 @@ declare module '@wordpress/rich-text' { * @link https://developer.wordpress.org/block-editor/how-to-guides/format-api/ * @link https://developer.wordpress.org/block-editor/reference-guides/packages/packages-rich-text/#registerformattype */ - export function registerFormatType( name: string, settings ): WPFormat | undefined; + export function registerFormatType( name: string, settings: WPFormat ): WPFormat | undefined; /** * Toggles a format object to a Rich Text value at the current selection.