Closed Globidev closed 1 year ago
🙌 ! thanks, the trick is to add /// <reference path="cushy.d.ts" />
at the top of the file;
i'm currently working on this very specific area;
I attempted to fix this by auto generating some tsconfig.json
with proper type roots config at startup in your cushy worklspace not quite sure this is enough. it kinda work on my end, so I'll close it for now, but let's just re-open this issue if something doesn't work
When opening a cushy workspace, the types won't be correctly resolved until the
cushy.d.ts
file is manually openhttps://user-images.githubusercontent.com/2079561/232311012-263feb21-0a81-41f8-a585-48a74b1ea29c.mp4