volarjs / volar.js

💙🌊

Home Page:https://volarjs.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@volar/monaco: add @types/xxx automaticlly

zh-lx opened this issue · comments

When using @volar/monaco, for third-party libraries that don't have types in package.json(such as react), can @types/xxx be automatically added to obtain type prompts.

For example, when I import 'react' and it doesn't hava types field in package.json, I hope @volar/monaco can add @types/react automaticly.

image