Skip to content

Commit

Permalink
chore: Fix bad JSDoc imports
Browse files Browse the repository at this point in the history
Ref #9632
  • Loading branch information
gibson042 committed Jul 12, 2024
1 parent 3f2cb5c commit 496d6ac
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion packages/ERTP/src/legacy-payment-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
*/

Expand Down
2 changes: 1 addition & 1 deletion packages/ERTP/src/transientNotifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/ERTP/src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export {};

/// <reference types="ses" />
/**
* @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 */
Expand Down
4 changes: 2 additions & 2 deletions packages/SwingSet/src/types-external.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/SwingSet/src/vats/timer/vat-timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion packages/inter-protocol/src/proposals/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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<import('@agoric/vats').NameAdmin>} nameAdmin
Expand Down
4 changes: 2 additions & 2 deletions packages/store/src/stores/scalarMapStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
*/

Expand Down
2 changes: 1 addition & 1 deletion packages/store/src/stores/scalarSetStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
*/

Expand Down
2 changes: 1 addition & 1 deletion packages/vats/src/lib-board.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions packages/vats/src/vat-bank.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 496d6ac

Please sign in to comment.