12e26a35fa
Provide a way to pass a custom program viewer to the playground. This should enable scnearios like having a `TypeSpec UI` viewer similar to swagger UI. Moved the viewer selection to be some vertical tabs with icons to the right instead File output viewer <img width="723" alt="image" src="https://github.com/microsoft/typespec/assets/1031227/e58caee7-8df5-4a9a-be16-9d6fec6701b4"> Type graph viewer <img width="713" alt="image" src="https://github.com/microsoft/typespec/assets/1031227/8bc2c4a0-42dc-4f91-a9ed-7b52bcad3692"> Also fix issues related to the playground build not validating the typesript |
||
---|---|---|
.. | ||
main.ts | ||
preview-head.html | ||
preview.tsx |