File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed
Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,10 @@ export type HandlerMap = Record<string, (...args: any) => void>;
118118 * @template Calls - Object type describing the calls made by this port,
119119 * using {@link PortRPC.prototype.call}.
120120 */
121- export class PortRPC < Handlers extends HandlerMap , Calls extends CallMap >
122- implements Destroyable
123- {
121+ export class PortRPC <
122+ Handlers extends HandlerMap ,
123+ Calls extends CallMap ,
124+ > implements Destroyable {
124125 /**
125126 * Map of sequence number to response callback, for RPC calls sent from
126127 * this instance.
Original file line number Diff line number Diff line change @@ -115,10 +115,10 @@ function ImportAnnotations({
115115 // (`importAnnotations` will be falsey if this is not the case).
116116 const importReady = Boolean (
117117 store . focusedGroup ( ) &&
118- store . defaultContentFrame ( ) &&
119- store . hasFetchedAnnotations ( ) &&
120- ! store . isFetchingAnnotations ( ) &&
121- importAnnotations ,
118+ store . defaultContentFrame ( ) &&
119+ store . hasFetchedAnnotations ( ) &&
120+ ! store . isFetchingAnnotations ( ) &&
121+ importAnnotations ,
122122 ) ;
123123
124124 // True if we're validating a JSON file after it has been selected.
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ export function annotationMatchesSegment(
3030 // nb. The URL comparison here assumes that both URLs are either absolute
3131 // or relative to the same root.
3232 ( segment . url && selector . url === segment . url ) ||
33- ( segment . cfi &&
34- selector . cfi &&
35- stripCFIAssertions ( selector . cfi ) === stripCFIAssertions ( segment . cfi ) ) ,
33+ ( segment . cfi &&
34+ selector . cfi &&
35+ stripCFIAssertions ( selector . cfi ) === stripCFIAssertions ( segment . cfi ) ) ,
3636 ) ;
3737}
3838
You can’t perform that action at this time.
0 commit comments