prismatic-io / spectral

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

Fix generated input types in component manifests #235

Closed bkegley closed 3 months ago

bkegley commented 3 months ago

For any of the properties in the inputs object of a manifest function we need to cast as const so the specific value carries through for use in spectral's types.