I want to hide "import" when referencing the library, that is, local/global import, and use the contents of the library normally Can it be achieved, or is it already achieved?
I use these codes in a plug-in loader, so I don’t need to import it. It’s just a tool for prompting to view annotations.
I am using VSCODE and its built-in JavaScript
example:
import { mc } from "./Libary/Game/Player";
mc.runcmd('kill u m')
want to use:
mc.runcmd('kill u m')
And you can also see comments and function types, etc.
from VSCODE Javascript ----how to Implicit import library
No comments:
Post a Comment