Skip to content

Commit b5f6b76

Browse files
committed
update comment
1 parent b92ee6d commit b5f6b76

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/core/src/attributes.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ export function isAttributeObject(maybeObj: unknown): maybeObj is AttributeObjec
6464
* Converts an attribute value to a typed attribute value.
6565
*
6666
* For now, we support primitive values, homogeneous arrays of primitives, and attribute objects
67-
* wrapping either. If @param useFallback is true, we stringify other non-primitive values to a
68-
* string attribute value. Otherwise we return `undefined` for unsupported values.
67+
* with primitive or primitive-array values. If @param useFallback is true, we stringify other
68+
* non-primitive values to a string attribute value. Otherwise we return `undefined` for unsupported
69+
* values.
6970
*
7071
* @param value - The value of the passed attribute.
7172
* @param useFallback - If true, unsupported values will be stringified to a string attribute value.

0 commit comments

Comments
 (0)