We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 143ba1f commit 26dc7deCopy full SHA for 26dc7de
packages/pass-style/src/makeTagged.js
@@ -4,14 +4,18 @@ import { Fail } from '@endo/errors';
4
import { PASS_STYLE } from './passStyle-helpers.js';
5
import { assertPassable } from './passStyleOf.js';
6
7
+/**
8
+ * @import {Passable,CopyTagged} from './types.js'
9
+ */
10
+
11
const { create, prototype: objectPrototype } = Object;
12
13
/**
14
* @template {string} T
- * @template {import('./types.js').Passable} P
15
+ * @template {Passable} P
16
* @param {T} tag
17
* @param {P} payload
- * @returns {import('./types.js').CopyTagged<T,P>}
18
+ * @returns {CopyTagged<T,P>}
19
*/
20
export const makeTagged = (tag, payload) => {
21
typeof tag === 'string' ||
0 commit comments