Skip to content

Commit

Permalink
chore: lint and merge conflict fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Dec 5, 2023
1 parent 3cf7cc4 commit ababbe9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 12 additions & 0 deletions packages/smart-wallet/src/offerWatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ export const makeOfferWatcherMaker = baggage => {
const amounts = await deeplyFulfilledObject(amountPKeywordRecord);
facets.helper.updateStatus({ payouts: amounts });
},
/**
* @param {Error} err
* @param {UserSeat} seat
*/
onRejected(err, seat) {
const { facets } = this;

Expand All @@ -219,6 +223,10 @@ export const makeOfferWatcherMaker = baggage => {
const { facets } = this;
facets.helper.publishResult(result);
},
/**
* @param {Error} err
* @param {UserSeat} seat
*/
onRejected(err, seat) {
const { facets } = this;
if (isUpgradeDisconnection(err)) {
Expand All @@ -237,6 +245,10 @@ export const makeOfferWatcherMaker = baggage => {

facets.helper.updateStatus({ numWantsSatisfied: numSatisfied });
},
/**
* @param {Error} err
* @param {UserSeat} seat
*/
onRejected(err, seat) {
const { facets } = this;
if (isUpgradeDisconnection(err)) {
Expand Down
4 changes: 0 additions & 4 deletions packages/swingset-liveslots/src/watchedPromises.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ import { parseVatSlot } from './parseVatSlots.js';

/**
* @template V
<<<<<<< HEAD
* @template {any[]} [A=unknown[]]
* @typedef {[watcher: import('./types.js').PromiseWatcher<V, A>, ...args: A]} PromiseWatcherTuple
=======
* @typedef {[watcher: import('./types.js').PromiseWatcher<V>, ...args: unknown[]]} PromiseWatcherTuple
>>>>>>> 5be9ad245 (chore(types): PromiseWatcher)
*/

/**
Expand Down

0 comments on commit ababbe9

Please sign in to comment.