Commit 28f09161 authored by Robert Knight's avatar Robert Knight

Reformat code with Prettier 3.2.2

parent de47ed96
......@@ -578,14 +578,11 @@ export class Guest extends TinyEmitter implements Annotator, Destroyable {
},
);
this._sidebarRPC.on(
'showContentInfo',
(info: ContentInfoConfig) => this._integration.showContentInfo?.(info),
this._sidebarRPC.on('showContentInfo', (info: ContentInfoConfig) =>
this._integration.showContentInfo?.(info),
);
this._sidebarRPC.on(
'navigateToSegment',
(annotation: AnnotationData) =>
this._sidebarRPC.on('navigateToSegment', (annotation: AnnotationData) =>
this._integration.navigateToSegment?.(annotation),
);
......
......@@ -44,12 +44,8 @@ type Module<
*
* `StoreFromModule<firstModule> & StoreFromModule<secondModule>`
*/
type StoreFromModule<T> = T extends Module<
any,
infer Actions,
infer Selectors,
infer RootSelectors
>
type StoreFromModule<T> =
T extends Module<any, infer Actions, infer Selectors, infer RootSelectors>
? Store<Actions, Selectors, RootSelectors>
: never;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment