brijeshb42 / monaco-themes

Themes to be used and generated with monaco-editor in web browser
https://editor.bitwiser.in/
MIT License
435 stars 65 forks source link

Feature Request: Type Definitions / TypeScript #31

Closed LeoDog896 closed 6 months ago

LeoDog896 commented 1 year ago

Type definitions for this project would be great!

brijeshb42 commented 9 months ago

How are you using this? Could you share a code snippet?

LeoDog896 commented 9 months ago

Hi! I forgot about this issue 😅 - I used to use parseTmThemes, but the function itself didn't have .d.ts types, so I typed it locally - however, I now directly use the theme itself - typings may be useful but it may be better to encourage users to use the json themes directly.