PullJosh / leopard-website

This repo contains the source code for the Leopard website
https://leopardjs.com
14 stars 3 forks source link

Typescript autocomplete #62

Open PullJosh opened 4 months ago

PullJosh commented 4 months ago

Help users write code by providing Monaco autocomplete options based on Leopard's .d.ts file. This is something that I thought would be easy in the past but turned out to be surprisingly hard. Still, it's super important to having a productive development environment.

In an ideal world we would load .d.ts files associated with any URL import in your project, but if it's easier to provide specific support for only the Leopard page loaded from unpkg, that gets us 90% of the benefit.