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 { ...@@ -578,14 +578,11 @@ export class Guest extends TinyEmitter implements Annotator, Destroyable {
}, },
); );
this._sidebarRPC.on( this._sidebarRPC.on('showContentInfo', (info: ContentInfoConfig) =>
'showContentInfo', this._integration.showContentInfo?.(info),
(info: ContentInfoConfig) => this._integration.showContentInfo?.(info),
); );
this._sidebarRPC.on( this._sidebarRPC.on('navigateToSegment', (annotation: AnnotationData) =>
'navigateToSegment',
(annotation: AnnotationData) =>
this._integration.navigateToSegment?.(annotation), this._integration.navigateToSegment?.(annotation),
); );
......
...@@ -44,12 +44,8 @@ type Module< ...@@ -44,12 +44,8 @@ type Module<
* *
* `StoreFromModule<firstModule> & StoreFromModule<secondModule>` * `StoreFromModule<firstModule> & StoreFromModule<secondModule>`
*/ */
type StoreFromModule<T> = T extends Module< type StoreFromModule<T> =
any, T extends Module<any, infer Actions, infer Selectors, infer RootSelectors>
infer Actions,
infer Selectors,
infer RootSelectors
>
? Store<Actions, Selectors, RootSelectors> ? Store<Actions, Selectors, RootSelectors>
: never; : 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