Skip to content

Commit

Permalink
chore(types): hard-code pass-style types to fix resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Jan 8, 2024
1 parent d1fc866 commit f0ffdbb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/marshal/src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ export {};
/**
* @template Slot
* @callback ConvertValToSlot
* @param {import('@endo/pass-style').PassableCap} val
* @param {any} val a PassableCap
* @returns {Slot}
*/

/**
* @template Slot
* @callback ConvertSlotToVal
* @param {Slot} slot
* @param {import('@endo/pass-style').InterfaceSpec} [iface]
* @returns {import('@endo/pass-style').PassableCap}
* @param {string} [iface]
* @returns {any} a PassableCap
*/

/**
Expand All @@ -34,7 +34,7 @@ export {};
* errorId?: string
* } |
* EncodingClass<'slot'> & { index: number,
* iface?: import('@endo/pass-style').InterfaceSpec
* iface?: string
* } |
* EncodingClass<'hilbert'> & { original: Encoding,
* rest?: Encoding
Expand Down Expand Up @@ -84,15 +84,15 @@ export {};
/**
* @template Slot
* @callback ToCapData
* @param {import('@endo/pass-style').Passable} val
* @param {any} val a Passable
* @returns {CapData<Slot>}
*/

/**
* @template Slot
* @callback FromCapData
* @param {CapData<Slot>} data
* @returns {import('@endo/pass-style').Passable}
* @returns {any} a Passable
*/

/**
Expand Down Expand Up @@ -172,8 +172,8 @@ export {};
* ordering would also compare magnitudes, and so agree with the rank ordering
* of all values other than `NaN`. An array sorted by rank would enable range
* queries by magnitude.
* @param {import('@endo/pass-style').Passable} left
* @param {import('@endo/pass-style').Passable} right
* @param {any} left a Passable
* @param {any} right a Passable
* @returns {RankComparison}
*/

Expand Down

0 comments on commit f0ffdbb

Please sign in to comment.