Cajones
Cajones
DDeno
Created by Cajones on 4/12/2024 in #help
JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.
Did adding the direct comment to your .tsx files help?
21 replies
DDeno
Created by Cajones on 4/12/2024 in #help
JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.
@brlewis ok, to resolve inside my devcontainer, I had to add to all my .tsx file this line:
/** @jsxImportSource preact */
/** @jsxImportSource preact */
even though I have my deno.json configured to apply globally. The strange thing is it worked yesterday in my devcontainer, but after the VSCode update it stopped. It works fine outside of the devcontainer. So maybe a bug on the linux side with the LSP?
21 replies
DDeno
Created by Cajones on 4/12/2024 in #help
JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.
@brlewis I was able to resolve my issue by disabling my devcontainer.
21 replies
DDeno
Created by Cajones on 4/12/2024 in #help
JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.
Oh and the code compiles and runs. It is simply the linting issue in the denoloand extension
21 replies
DDeno
Created by Cajones on 4/12/2024 in #help
JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.
@brlewis my deno.json is very similar as well. I had been using the project for over 4 weeks with no issue. Upgraded VScode today and bam. Nothing I did resolved. Are you by chance using a devcontainer?
21 replies