typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

Import containing a dot give an error

Open Niron68 opened this issue 1 month ago • 4 comments

Steps to reproduce

Import something from 'socket.io/dist/namespace'

Behavior with [email protected]

Build correctly without errors

Behavior with tsgo

Give an error like: "TS2307: This could be one of two things - either 'socket.io/dist/namespace' doesn't exist on your file system, or I can't find any declarations for it."

Niron68 avatar Nov 17 '25 09:11 Niron68