I wrote an extension package and try to import a script from the extension into one of my game scripts written in TS.
The way I do that is to specify only a name of the script to import (without relative path or so):
import MyComponent from 'MyComponent';
It works. However my IDE can’t find 'MyComponent` and highlights me such import as an error. As a result I can’t use any members context suggestions while using MyComponent in the code. The errors checking is disabled as well.
Is there any other correct way to import a script from extension package into one of scripts in the assets?