denoland / denoland/react-vite-ts-template

React imports are not working

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
37
Forks
9
PR merge metrics
No merged PRs in 30d

Description

This may or may not be related to the only other open issue.

Deno suggests that I import functions, etc from "@types/react" when they should come from "react".

Seems to me like Deno LS cannot tell that "react" doesn't have types and "@types/react" is **only** types for the purposes of suggesting imports.

![image](https://github.com/user-attachments/assets/c436bc7a-7cc2-48c5-aedd-22f150128afa)

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.