Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Aug 27, 2021
1 parent ce1fc2d commit cfe1025
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/default-settings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function getMenu( current, defaultMenu ) {
* @returns {BlockEditorSettings}
**/
export default function applyDefaultSettings( settings ) {
const { iso, editor, collab } = settings;
const { iso, editor } = settings;

return {
iso: {
Expand Down Expand Up @@ -125,6 +125,5 @@ export default function applyDefaultSettings( settings ) {
editor?.__experimentalFetchLinkSuggestions
: () => [],
},
collab,
};
}
4 changes: 2 additions & 2 deletions src/store/peers/actions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @param {import('../../').AvailablePeer[]} peers
* @param {import('../../components/collaborative-editing').AvailablePeer[]} peers
*/
export function setAvailablePeers( peers ) {
return {
Expand All @@ -10,7 +10,7 @@ export function setAvailablePeers( peers ) {

/**
* @param {string} peerId
* @param {import('../..').EditorSelection} selection
* @param {import('../../components/collaborative-editing').EditorSelection} selection
*/
export function setPeerSelection( peerId, selection ) {
return {
Expand Down

0 comments on commit cfe1025

Please sign in to comment.