Skip to content

Commit

Permalink
chore: End each JSDoc import in changed files with a semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Jul 12, 2024
1 parent 476229d commit b6437fe
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 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 @@ -7,7 +7,7 @@ import { AmountMath } from './amountMath.js';

/**
* @import {ERef} from '@endo/far';
* @import {Amount, AssetKind, AmountValue, AssetKindForValue, Payment, Brand, Purse} from './types.js'
* @import {Amount, AssetKind, AmountValue, AssetKindForValue, Payment, Brand, Purse} from './types.js';
*/

/**
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
6 changes: 3 additions & 3 deletions packages/SwingSet/src/types-external.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/** @import { ERef } from '@endo/far' */
/** @import { ERef } from '@endo/far'; */

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
16 changes: 8 additions & 8 deletions packages/SwingSet/src/vats/timer/vat-timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ 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(),
// delay(), and Notifiers/Iterators (for each actively-waiting
// client). Everything else should remain in the DB.

/**
* @import {Timestamp} from '@agoric/time'
* @import {TimestampRecord} from '@agoric/time'
* @import {TimestampValue} from '@agoric/time'
* @import {RelativeTime} from '@agoric/time'
* @import {RelativeTimeValue} from '@agoric/time'
* @import {TimerService} from '@agoric/time'
* @import {Timestamp} from '@agoric/time';
* @import {TimestampRecord} from '@agoric/time';
* @import {TimestampValue} from '@agoric/time';
* @import {RelativeTime} from '@agoric/time';
* @import {RelativeTimeValue} from '@agoric/time';
* @import {TimerService} from '@agoric/time';
*
* @typedef {object} Handler
* Handler is a user-provided Far object with .wake(time) used for callbacks
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
2 changes: 1 addition & 1 deletion packages/vats/src/lib-board.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const calcCrc = (data, crcDigits) => {
/**
* @typedef {ReturnType<typeof initDurableBoardState>} BoardState // TODO: use
* Key from @agoric/store when available
* @import {Passable} from '@endo/marshal'
* @import {Passable} from '@endo/marshal';
* @see {prepareExoClassKit}
* @see {@link ../../SwingSet/docs/virtual-objects.md|SwingSet Virtual Objects} Hoisting this function makes defining the state type concise.
*/
Expand Down
6 changes: 3 additions & 3 deletions packages/vats/src/vat-bank.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ 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';
* @import {VirtualPurseController} from './virtual-purse.js';
*/

const { VirtualPurseControllerI } = makeVirtualPurseKitIKit();
Expand All @@ -37,7 +38,6 @@ const BridgeChannelI = M.interface('BridgeChannel', {

/**
* @typedef {Awaited<ReturnType<ReturnType<typeof prepareVirtualPurse>>>} VirtualPurse
* @import {VirtualPurseController} from './virtual-purse.js'
*/

/**
Expand Down

0 comments on commit b6437fe

Please sign in to comment.