Skip to content

Adding extralibs #498

Answered by CGNonofr
vitor-txt asked this question in Q&A
Sep 16, 2024 · 1 comments · 13 replies
Discussion options

You must be logged in to vote

Hello,

Those apis are added by the monaco standalone typescript worker.

It that project, we tend to encourage using VSCode stuff instead, and you should be able to use the VSCode typescript default extension for the typescript intellisense (cf. the demo). You would be able to add types but adding your .d.ts file in the project directly in the virtual filesystem, or referencing published types (there is a type acquisition feature).

However, there is something that can be blocking for many users: the VSCode typescript extension requires the crossOriginIsolated flag to be enable to fully operate (aka project-wide intellisense).

For that reason, it's still possible to use the monaco typescrip…

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@CGNonofr
Comment options

@CGNonofr
Comment options

@Nuthin2do
Comment options

@CGNonofr
Comment options

@Nuthin2do
Comment options

Answer selected by vitor-txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants