@types/wordpress__block-editor 11.5.9 → 11.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,7 +8,7 @@ This package contains type definitions for @wordpress/block-editor (https://gith
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__block-editor.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 29 Jan 2024 05:06:52 GMT
|
|
12
12
|
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/wordpress__blocks](https://npmjs.com/package/@types/wordpress__blocks), [@types/wordpress__components](https://npmjs.com/package/@types/wordpress__components), [@types/wordpress__keycodes](https://npmjs.com/package/@types/wordpress__keycodes), [@wordpress/data](https://npmjs.com/package/@wordpress/data), [@wordpress/element](https://npmjs.com/package/@wordpress/element), [react-autosize-textarea](https://npmjs.com/package/react-autosize-textarea)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BlockIconNormalized } from "@wordpress/blocks";
|
|
2
|
-
import { dispatch, select } from "@wordpress/data";
|
|
2
|
+
import { dispatch, select, StoreDescriptor } from "@wordpress/data";
|
|
3
3
|
|
|
4
4
|
export * from "./components";
|
|
5
5
|
export * from "./hooks";
|
|
@@ -12,7 +12,11 @@ declare module "@wordpress/data" {
|
|
|
12
12
|
function select(key: "core/block-editor"): typeof import("./store/selectors");
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
export
|
|
15
|
+
export interface BlockEditorStoreDescriptor extends StoreDescriptor {
|
|
16
|
+
name: "core/block-editor";
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const store: BlockEditorStoreDescriptor;
|
|
16
20
|
|
|
17
21
|
export type EditorBlockMode = "html" | "visual";
|
|
18
22
|
export type EditorMode = "text" | "visual";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/wordpress__block-editor",
|
|
3
|
-
"version": "11.5.
|
|
3
|
+
"version": "11.5.10",
|
|
4
4
|
"description": "TypeScript definitions for @wordpress/block-editor",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__block-editor",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,6 +38,6 @@
|
|
|
38
38
|
"@wordpress/element": "^5.0.0",
|
|
39
39
|
"react-autosize-textarea": "^7.1.0"
|
|
40
40
|
},
|
|
41
|
-
"typesPublisherContentHash": "
|
|
41
|
+
"typesPublisherContentHash": "10a779cfeb61bb4ab1aa5648707b51cbdf50f7a0dbc8e9974b2dcd313629af38",
|
|
42
42
|
"typeScriptVersion": "4.6"
|
|
43
43
|
}
|