typescript-language-server / typescript-language-server

TypeScript & JavaScript Language Server

Home Page:https://www.npmjs.com/package/typescript-language-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while importing `type` and without types

anoopd opened this issue · comments

https://asciinema.org/a/5v5oDhCemiy85MEqSXWqgbP1z

expected result

import {json} from "@remix-run/node"; import type {LoaderFunctionArgs} from "@remix-run/node"

actual result
import {json, type LoaderFunctionArgs} from "@remix-run/node";

You can report it in typescript repo since the logic for that is implement in Typescript. Try to verify that it also reproduces in VSCode first and make sure that you've tested with latest typescript version.