prismatic-io / spectral

Prismatic's typescript library for custom components
https://prismatic.io/docs/spectral/custom-component-library
35 stars 2 forks source link

Add context to Data Sources #86

Closed hipplej closed 2 years ago

hipplej commented 2 years ago

LGTM 👍

Only thought is the handling of the clean functions in createPerform since that relies on arg length but I think we're fine since both the arity and (roughly) the types match for data sources and actions.

Best I can tell this is handled correctly.