Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TS types for the editor package #67196

Merged
merged 10 commits into from
Nov 25, 2024
11 changes: 6 additions & 5 deletions docs/reference-guides/data/data-core-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,8 @@ Action that autosaves the current post. This includes server-side autosaving (de
_Parameters_
- _options_ `Object?`: Extra flags to identify the autosave.
- _options_ `[Object]`: Extra flags to identify the autosave.
- _options.local_ `[boolean]`: Whether to perform a local autosave.
### clearSelectedBlock
Expand Down Expand Up @@ -1204,7 +1205,7 @@ const getFeaturedMediaUrl = useSelect( ( select ) => {
_Parameters_
- _edits_ `Object`: Post attributes to edit.
- _options_ `Object`: Options for the edit.
- _options_ `[Object]`: Options for the edit.
_Returns_
Expand Down Expand Up @@ -1417,7 +1418,7 @@ Returns an action object used to signal that the blocks have been updated.
_Parameters_
- _blocks_ `Array`: Block Array.
- _options_ `?Object`: Optional options.
- _options_ `[Object]`: Optional options.
### resetPost
Expand All @@ -1431,7 +1432,7 @@ Action for saving the current post in the editor.
_Parameters_
- _options_ `Object`:
- _options_ `[Object]`:
### selectBlock
Expand Down Expand Up @@ -1519,7 +1520,7 @@ _Parameters_
- _post_ `Object`: Post object.
- _edits_ `Object`: Initial edited attributes object.
- _template_ `Array?`: Block Template.
- _template_ `[Array]`: Block Template.
### setupEditorState
Expand Down
Loading
Loading