- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 741
 
Open
Labels
A-CoreArea: coreArea: coreA-LSPArea: language server protocolArea: language server protocolS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bugworkaround
Description
Environment information
CLI:
  Version:                      2.3.1
  Color support:                true
Platform:
  CPU Architecture:             aarch64
  OS:                           macos
Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  BIOME_THREADS:                unset
  NO_COLOR:                     unset
  TERM:                         xterm-256color
  JS_RUNTIME_VERSION:           v22.15.0
  JS_RUNTIME_NAME:              node
  NODE_PACKAGE_MANAGER:         npm/11.4.0
Biome Configuration:
  Status:                       Loaded successfully
  Path:                         biome.json
  Formatter enabled:            true
  Linter enabled:               true
  Assist enabled:               true
  VCS enabled:                  true
Workspace:
  Open Documents:               0
What happened?
Reproduction url: https://github.com/MateiNenciu/nuxt-biome-parser
When trying to edit .vue files in a nuxt project, I get the following error from biome parser: "type assertion are a TypeScript only feature. Convert your file to a TypeScript file or remove the syntax.biome(parse)".
I tried with both zed and vscode IDE's and they report the same issue.
Expected result
The parser should not display this error.
Code of Conduct
- I agree to follow Biome's Code of Conduct
 
Metadata
Metadata
Assignees
Labels
A-CoreArea: coreArea: coreA-LSPArea: language server protocolArea: language server protocolS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bugworkaround