denoland / denoland/deploy_feedback

Trying code in "Using JSX" with .tsx causes warning in VSCode

Open
#302 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
79
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Trying code in https://deno.com/deploy/docs/using-jsx in .tsx with VSCode(with vscode_deno) causes warnings below:

Screen Shot 2022-10-22 at 14 10 01

> JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.deno-ts(7026)

I fixed these warnings by upgrading nano_jsx from 0.0.20 to 0.0.33 which has fix to this problem. It would be nice to upgrade docs, as many developers nowadays may prefer .tsx over .jsx.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.