SawyerHood / draw-a-ui

Draw a mockup and generate html for it
https://draw-a-ui.com
MIT License
13.25k stars 1.59k forks source link

fix: type declaration for prismjs #15

Closed 0x-sen closed 11 months ago

0x-sen commented 11 months ago

a type declaration for prismjs

in the component PreviewModal.tsx

import Prism from "prismjs";

Could not find a declaration file for module 'prismjs'

justinh-rahb commented 11 months ago

Can confirm this will allow deploying in prod mode (yes, I realize that's not a great idea without auth).

SawyerHood commented 11 months ago

TY for this fix!