mattpocock / ts-error-translator

VSCode extension to turn TypeScript errors into plain English
https://ts-error-translator.vercel.app
2.37k stars 91 forks source link

Translation request for 6244: Import 'SearchList' conflicts with local value, so must be declared with a type-only import when 'isolatedModules' is enabled. #280

Open ooker777 opened 6 months ago

ooker777 commented 6 months ago

Error

Import 'SearchList' conflicts with local value, so must be declared with a type-only import when 'isolatedModules' is enabled.

Translation

Use import type SearchList from ... instead of import SearchList from ..., since there is already a local variable named SearchList in this file.