react-component / react-component/select

Select Component Without Type hint in vscode using lowerer version(less than 3.8) of typescript

Open
#618 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
938
Forks
482
Avg merge
15h 8m
Merged PRs (30d)
2

Description

in line 16 of source code: https://github.com/react-component/select/blob/master/src/generate.tsx

it uses the grammar import type which can only be used in typescript version gte v3.8

It will become weird that And design Select Component can non HINT TYPE when your vscode uses typescript version lt 3.8

I hope you can write docs(Q&A) in And Design to emphasis it. causing the action is realllllly weird!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking src/generate.tsx at line 16 and then locate the And Design documentation or Q&A entry point for compatibility guidance. Document the TypeScript 3.8 requirement for the import type syntax and explain why older VS Code TypeScript versions may not provide type hints; done means the guidance is published in the appropriate documentation location.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript, vscode
Domain
developer-experience, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.