-
Hello, i have a question about this awesome project. Can the linter support multiple file modules ? Best regards. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 19 replies
-
@Jxhnn, thank you for your interest in this project! Due to limitations in the browser environment, achieving a fully functional experience, especially with the file system, is somewhat challenging. However, there is a workaround for the TypeScript service: you can set your files to the languageProvider.setGlobalOptions("typescript", {
extraLibs: {
"dir/someFile.ts": {
content: "export var someVar = 123",
version: 1
}
}
}); import in that case could be: import * as someFile from "./dir/someFile";
someFile.someVar |
Beta Was this translation helpful? Give feedback.
@Jxhnn, thank you for your interest in this project! Due to limitations in the browser environment, achieving a fully functional experience, especially with the file system, is somewhat challenging. However, there is a workaround for the TypeScript service: you can set your files to the
extraLibs
property inglobalOptions
, similar to this:import in that case could be: