From 6c7054cb877807a2e5673762250f7f51c8902836 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Thu, 11 Jul 2024 16:05:24 -0400 Subject: [PATCH] chore: Fix bad JSDoc imports Ref #9632 --- packages/ERTP/src/legacy-payment-helpers.js | 2 +- packages/ERTP/src/transientNotifier.js | 2 +- packages/ERTP/src/types.js | 6 +++--- packages/SwingSet/src/types-external.js | 4 ++-- packages/SwingSet/src/vats/timer/vat-timer.js | 4 ++-- packages/inter-protocol/src/proposals/utils.js | 2 +- packages/store/src/stores/scalarMapStore.js | 4 ++-- packages/store/src/stores/scalarSetStore.js | 2 +- packages/vats/src/lib-board.js | 2 +- packages/vats/src/vat-bank.js | 4 ++-- 10 files changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/ERTP/src/legacy-payment-helpers.js b/packages/ERTP/src/legacy-payment-helpers.js index f52d2f92ee6..569c41b4ffb 100644 --- a/packages/ERTP/src/legacy-payment-helpers.js +++ b/packages/ERTP/src/legacy-payment-helpers.js @@ -6,7 +6,7 @@ import { mustMatch } from '@agoric/store'; import { AmountMath } from './amountMath.js'; /** - * @import {ERef} from '@endo/far'); + * @import {ERef} from '@endo/far'; * @import {Amount, AssetKind, AmountValue, AssetKindForValue, Payment, Brand, Purse} from './types.js' */ diff --git a/packages/ERTP/src/transientNotifier.js b/packages/ERTP/src/transientNotifier.js index a01eaeb28c1..112c358a5a2 100644 --- a/packages/ERTP/src/transientNotifier.js +++ b/packages/ERTP/src/transientNotifier.js @@ -6,7 +6,7 @@ import { makeNotifierKit } from '@agoric/notifier'; /** * @import {Purse} from './types.js'; - * @import {LatestTopic, NotifierRecord} from '@agoric/notifier'); + * @import {LatestTopic, NotifierRecord} from '@agoric/notifier'; */ // Note: Virtual for high cardinality, but *not* durable, and so diff --git a/packages/ERTP/src/types.js b/packages/ERTP/src/types.js index 64dca7c5c8a..c51820cf59a 100644 --- a/packages/ERTP/src/types.js +++ b/packages/ERTP/src/types.js @@ -5,9 +5,9 @@ export {}; /// /** - * @import {Passable, RemotableObject} from '@endo/pass-style') - * @import {CopyBag, CopySet, Key} from '@endo/patterns') - * @import {LatestTopic, NotifierRecord} from '@agoric/notifier'); + * @import {Passable, RemotableObject} from '@endo/pass-style' + * @import {CopyBag, CopySet, Key} from '@endo/patterns' + * @import {LatestTopic, NotifierRecord} from '@agoric/notifier' */ /** @typedef {{ brand: Brand<'nat'>; value: bigint }} NatAmount */ diff --git a/packages/SwingSet/src/types-external.js b/packages/SwingSet/src/types-external.js index 7b45acfa86c..2a60b954d4c 100644 --- a/packages/SwingSet/src/types-external.js +++ b/packages/SwingSet/src/types-external.js @@ -3,8 +3,8 @@ export {}; /** - * @import {Guarded} from '@endo/exo') - * @import {Passable, RemotableObject} from '@endo/pass-style') + * @import {Guarded} from '@endo/exo' + * @import {Passable, RemotableObject} from '@endo/pass-style' */ /* This file defines types that part of the external API of swingset. That diff --git a/packages/SwingSet/src/vats/timer/vat-timer.js b/packages/SwingSet/src/vats/timer/vat-timer.js index 7ea007bf2cc..502d6fb8c11 100644 --- a/packages/SwingSet/src/vats/timer/vat-timer.js +++ b/packages/SwingSet/src/vats/timer/vat-timer.js @@ -16,8 +16,8 @@ import { makeScalarWeakMapStore } from '@agoric/store'; import { TimeMath } from '@agoric/time'; /** - * @import {Passable, RemotableObject} from '@endo/pass-style') - * @import {Key} from '@endo/patterns') + * @import {Passable, RemotableObject} from '@endo/pass-style' + * @import {Key} from '@endo/patterns' */ // This consumes O(N) RAM only for outstanding promises, via wakeAt(), diff --git a/packages/inter-protocol/src/proposals/utils.js b/packages/inter-protocol/src/proposals/utils.js index 4dce2abdad3..f632713cc7e 100644 --- a/packages/inter-protocol/src/proposals/utils.js +++ b/packages/inter-protocol/src/proposals/utils.js @@ -3,7 +3,7 @@ import { E } from '@endo/far'; import { WalletName } from '@agoric/internal'; import { getCopyMapEntries, makeCopyMap } from '@agoric/store'; -/** @import {CopyMap} from '@endo/patterns') */ +/** @import {CopyMap} from '@endo/patterns' */ /** * @param {ERef} nameAdmin diff --git a/packages/store/src/stores/scalarMapStore.js b/packages/store/src/stores/scalarMapStore.js index 2a9cf63cd18..9264a70d2fb 100644 --- a/packages/store/src/stores/scalarMapStore.js +++ b/packages/store/src/stores/scalarMapStore.js @@ -17,8 +17,8 @@ import { makeWeakMapStoreMethods } from './scalarWeakMapStore.js'; import { makeCurrentKeysKit } from './store-utils.js'; /** - * @import {Passable} from '@endo/pass-style'); - * @import {Key, Pattern} from '@endo/patterns'); + * @import {Passable} from '@endo/pass-style'; + * @import {Key, Pattern} from '@endo/patterns'; * @import {MapStore, MapStoreMethods, StoreOptions} from '../types.js'; */ diff --git a/packages/store/src/stores/scalarSetStore.js b/packages/store/src/stores/scalarSetStore.js index e49b4edf077..bf11d30ee33 100644 --- a/packages/store/src/stores/scalarSetStore.js +++ b/packages/store/src/stores/scalarSetStore.js @@ -12,7 +12,7 @@ import { makeWeakSetStoreMethods } from './scalarWeakSetStore.js'; import { makeCurrentKeysKit } from './store-utils.js'; /** - * @import {Key, Pattern} from '@endo/patterns'); + * @import {Key, Pattern} from '@endo/patterns'; * @import {SetStore, SetStoreMethods, StoreOptions} from '../types.js'; */ diff --git a/packages/vats/src/lib-board.js b/packages/vats/src/lib-board.js index f1c7a23a48f..f450d8e8cde 100644 --- a/packages/vats/src/lib-board.js +++ b/packages/vats/src/lib-board.js @@ -17,7 +17,7 @@ import { crc6 } from './crc.js'; /** * @import {RemotableObject} from '@endo/pass-style'; - * @import {Key} from '@endo/patterns'); + * @import {Key} from '@endo/patterns'; */ export const DEFAULT_CRC_DIGITS = 2; diff --git a/packages/vats/src/vat-bank.js b/packages/vats/src/vat-bank.js index 5922a85586c..5ef7d657081 100644 --- a/packages/vats/src/vat-bank.js +++ b/packages/vats/src/vat-bank.js @@ -22,8 +22,8 @@ import { } from './virtual-purse.js'; /** - * @import {Guarded} from '@endo/exo') - * @import {Passable, RemotableObject} from '@endo/pass-style') + * @import {Guarded} from '@endo/exo' + * @import {Passable, RemotableObject} from '@endo/pass-style' */ const { VirtualPurseControllerI } = makeVirtualPurseKitIKit();