Open
Description
Hi,
I want to use your library to be able to autocomplete my interfaces in the editor.
But when I just try your example :
export class MyEditorComponent {
codeModel: CodeModel = {
language: 'typescript',
uri: 'main.ts',
value: '',
dependencies: ['@types/node', '@ngstack/translate', '@ngstack/code-editor']
};
}
I have an error in my console :
(index):1 Uncaught SyntaxError: Unexpected token '<' (at (index):1:1)
I don't know what is causing this. At first, I thought it was my files that was the problem, but even with your example, it's not working.
Thank you in advance.
PS: Sorry for my English, it's not my primary language.
Metadata
Metadata
Assignees
Labels
No labels