Skip to content

Commit 5966de0

Browse files
committed
Add TODO
1 parent c3ca1e1 commit 5966de0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/component/src/Utils/parseProps.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export default function parseProps<const TSchema extends BaseSchema<unknown, unk
88
return props as unknown as InferOutput<TSchema>;
99
}
1010

11+
// TODO: Default to `safeParse` unless the component is explicitly okay with strict, which clone the prop.
1112
try {
1213
return parse(propsSchema, props);
1314
} catch (error) {

0 commit comments

Comments
 (0)