Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 lint/correctness/noUndeclaredVariables doesn't recognize type Uppercase #106

Closed
1 task done
socram03 opened this issue Sep 1, 2023 · 0 comments · Fixed by #109
Closed
1 task done

🐛 lint/correctness/noUndeclaredVariables doesn't recognize type Uppercase #106

socram03 opened this issue Sep 1, 2023 · 0 comments · Fixed by #109
Assignees
Labels
A-Linter Area: linter L-JavaScript Language: JavaScript and super languages S-Bug-confirmed Status: report has been confirmed as a valid bug

Comments

@socram03
Copy link

socram03 commented Sep 1, 2023

Environment information

CLI:
  Version:                      1.0.0  
  Color support:                true   

Platform:
  CPU Architecture:             x86_64 
  OS:                           windows

Environment:
  BIOME_LOG_DIR:                unset  
  NO_COLOR:                     unset
  TERM:                         unset
  JS_RUNTIME_VERSION:           "v20.3.1"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/9.6.7"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Workspace:
  Open Documents:               0

Discovering running Biome servers...

Incompatible Biome Server: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

i Rage discovered this running server using an incompatible version of Biome.

Server:
  Version:                      <=10.0.0

What happened?

// The Uppercase variable is undeclared lint/correctness/noUndeclaredVariables
export type AnyStringToUpper<T extends string> = Uppercase<T>;

playground

Expected result

No error

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@Conaclos Conaclos added S-Bug-confirmed Status: report has been confirmed as a valid bug L-JavaScript Language: JavaScript and super languages A-Linter Area: linter labels Sep 1, 2023
@Conaclos Conaclos self-assigned this Sep 1, 2023
@Conaclos Conaclos added this to the Biome 1.1 milestone Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Linter Area: linter L-JavaScript Language: JavaScript and super languages S-Bug-confirmed Status: report has been confirmed as a valid bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants