Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
28f09161
Commit
28f09161
authored
Jan 15, 2024
by
Robert Knight
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reformat code with Prettier 3.2.2
parent
de47ed96
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
15 deletions
+8
-15
guest.ts
src/annotator/guest.ts
+4
-7
create-store.ts
src/sidebar/store/create-store.ts
+4
-8
No files found.
src/annotator/guest.ts
View file @
28f09161
...
@@ -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
),
);
);
...
...
src/sidebar/store/create-store.ts
View file @
28f09161
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment